Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 184.4 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003921, allocations: 20 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6836/0.6841, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1953/0.8795, allocations: 182.6 MB / 1.202 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.8965, allocations: 12.93 MB / 1.215 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.898, allocations: 27.81 kB / 1.215 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.8994, allocations: 342 kB / 1.215 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.9027, allocations: 1.089 MB / 1.216 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.9047, allocations: 0.6327 MB / 1.217 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.9081, allocations: 2.772 MB / 1.219 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.9093, allocations: 0.7024 MB / 1.22 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.9133, allocations: 1.627 MB / 1.222 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.9152, allocations: 0.6702 MB / 1.222 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.9154, allocations: 35.94 kB / 1.222 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.9175, allocations: 0.9703 MB / 1.223 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004888/0.918, allocations: 335 kB / 1.224 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007777/0.9188, allocations: 475.3 kB / 1.224 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.9203, allocations: 1.091 MB / 1.225 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9203, allocations: 0 / 1.225 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9203, allocations: 0 / 1.225 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.726e-05/0.9204, allocations: 0 / 1.225 GB, free: 0.8438 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001894/0.9223, allocations: 1.048 MB / 1.226 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.9223, allocations: 8.031 kB / 1.226 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.9237, allocations: 218.6 kB / 1.226 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.9248, allocations: 0.6402 MB / 1.227 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.9249, allocations: 58 kB / 1.227 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.9251, allocations: 83.98 kB / 1.227 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.9266, allocations: 0.9326 MB / 1.228 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.9267, allocations: 4 kB / 1.228 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/0.9268, allocations: 35.94 kB / 1.228 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.9268, allocations: 33.25 kB / 1.228 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.9279, allocations: 0.6177 MB / 1.229 GB, free: 13 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.9326, allocations: 4.597 MB / 1.233 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.9335, allocations: 0.5357 MB / 1.234 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.9339, allocations: 250.4 kB / 1.234 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.9341, allocations: 105.1 kB / 1.234 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.9341, allocations: 38.56 kB / 1.234 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.9341, allocations: 0 / 1.234 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002976/0.9371, allocations: 1.597 MB / 1.236 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.9372, allocations: 110.8 kB / 1.236 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.9381, allocations: 0.7116 MB / 1.236 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.9382, allocations: 37.7 kB / 1.237 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.9385, allocations: 415.7 kB / 1.237 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.9386, allocations: 153.8 kB / 1.237 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.527e-05/0.9387, allocations: 61.75 kB / 1.237 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9389, allocations: 334 kB / 1.237 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.9392, allocations: 189.1 kB / 1.238 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.9396, allocations: 421 kB / 1.238 GB, free: 2.895 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.942, allocations: 1.194 MB / 1.239 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.942, allocations: 3.938 kB / 1.239 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001064/0.9431, allocations: 0.6718 MB / 1.24 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.9431, allocations: 8 kB / 1.24 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9431, allocations: 4 kB / 1.24 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.9431, allocations: 15.94 kB / 1.24 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.9436, allocations: 119.8 kB / 1.24 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.9436, allocations: 19.92 kB / 1.24 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/0.9443, allocations: 59.64 kB / 1.24 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.9444, allocations: 32 kB / 1.24 GB, free: 0.6641 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.9448, allocations: 273.5 kB / 1.24 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.945, allocations: 83 kB / 1.24 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.9452, allocations: 95.66 kB / 1.241 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.9452, allocations: 4 kB / 1.241 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.9452, allocations: 0 / 1.241 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007439/0.9459, allocations: 0.695 MB / 1.241 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.9484, allocations: 1.646 MB / 1.243 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.9484, allocations: 4 kB / 1.243 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.9489, allocations: 103.8 kB / 1.243 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.9489, allocations: 4 kB / 1.243 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.949, allocations: 20.05 kB / 1.243 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.949, allocations: 12 kB / 1.243 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.949, allocations: 4 kB / 1.243 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.9501, allocations: 0.865 MB / 1.244 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.9505, allocations: 212 kB / 1.244 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.9506, allocations: 16 kB / 1.244 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.9511, allocations: 35.97 kB / 1.244 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.9512, allocations: 39.84 kB / 1.244 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.9513, allocations: 23.98 kB / 1.244 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006591/0.9519, allocations: 0.5029 MB / 1.245 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9519, allocations: 0 / 1.245 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007843/0.9527, allocations: 204 kB / 1.245 GB, free: 11.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004821/0.9532, allocations: 203.1 kB / 1.245 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008348/0.9541, allocations: 481.2 kB / 1.245 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.9541, allocations: 384 / 1.245 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.9544, allocations: 212.2 kB / 1.246 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.9571, allocations: 453.2 kB / 1.246 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.9601, allocations: 2.095 MB / 1.248 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.9608, allocations: 1.028 MB / 1.249 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.961, allocations: 63.44 kB / 1.249 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/0.961, allocations: 0 / 1.249 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of Templates: time 0.5525/1.513, allocations: 12.77 MB / 1.262 GB, free: 227.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches