Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001541/0.001541, allocations: 114.2 kB / 16.81 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.417/1.417, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 64.11 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.305, allocations: 168.7 MB / 1.262 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2216/0.5267, allocations: 187.9 MB / 1.446 GB, free: 284 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.5434, allocations: 13.13 MB / 1.458 GB, free: 3.105 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009482/0.5443, allocations: 31.81 kB / 1.458 GB, free: 3.074 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.5456, allocations: 449 kB / 1.459 GB, free: 2.633 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.5483, allocations: 1.194 MB / 1.46 GB, free: 1.434 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.55, allocations: 0.721 MB / 1.461 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.5524, allocations: 2.033 MB / 1.463 GB, free: 14.67 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009431/0.5533, allocations: 0.6911 MB / 1.463 GB, free: 13.96 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.5569, allocations: 1.88 MB / 1.465 GB, free: 12.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.5584, allocations: 0.7129 MB / 1.466 GB, free: 11.36 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.5586, allocations: 80 kB / 1.466 GB, free: 11.28 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.5603, allocations: 0.9198 MB / 1.467 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004239/0.5607, allocations: 394.9 kB / 1.467 GB, free: 9.973 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.5612, allocations: 0.4976 MB / 1.468 GB, free: 9.473 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.5632, allocations: 1.51 MB / 1.469 GB, free: 7.961 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5632, allocations: 0 / 1.469 GB, free: 7.961 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5632, allocations: 0 / 1.469 GB, free: 7.961 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5632, allocations: 3.938 kB / 1.469 GB, free: 7.957 MB / 1.186 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.001861/0.565, allocations: 1.261 MB / 1.47 GB, free: 6.645 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5651, allocations: 12.03 kB / 1.471 GB, free: 6.633 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.5663, allocations: 215.2 kB / 1.471 GB, free: 6.422 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.5674, allocations: 0.6915 MB / 1.471 GB, free: 5.688 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.5675, allocations: 58 kB / 1.471 GB, free: 5.633 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.5676, allocations: 80 kB / 1.472 GB, free: 5.555 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.569, allocations: 0.9326 MB / 1.472 GB, free: 4.535 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.569, allocations: 7.938 kB / 1.472 GB, free: 4.527 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.5691, allocations: 35.94 kB / 1.472 GB, free: 4.492 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.5691, allocations: 25.31 kB / 1.472 GB, free: 4.469 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5702, allocations: 0.6177 MB / 1.473 GB, free: 3.852 MB / 1.186 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.004793/0.575, allocations: 4.606 MB / 1.478 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.5758, allocations: 0.5222 MB / 1.478 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.5762, allocations: 233.5 kB / 1.478 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.5764, allocations: 105.1 kB / 1.478 GB, free: 14.04 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.5764, allocations: 42.56 kB / 1.478 GB, free: 13.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 3.767e-06/0.5764, allocations: 0 / 1.478 GB, free: 13.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.002874/0.5793, allocations: 1.616 MB / 1.48 GB, free: 12.31 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.5794, allocations: 115.1 kB / 1.48 GB, free: 12.18 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008861/0.5802, allocations: 0.7155 MB / 1.481 GB, free: 11.45 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.5803, allocations: 33.7 kB / 1.481 GB, free: 11.41 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.5806, allocations: 424.6 kB / 1.481 GB, free: 10.99 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.5808, allocations: 166.6 kB / 1.481 GB, free: 10.82 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.581, allocations: 122.2 kB / 1.482 GB, free: 10.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5812, allocations: 329.9 kB / 1.482 GB, free: 10.37 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.5815, allocations: 193.2 kB / 1.482 GB, free: 10.18 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.582, allocations: 417 kB / 1.482 GB, free: 9.676 MB / 1.201 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.002373/0.5844, allocations: 1.174 MB / 1.484 GB, free: 8.398 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.5844, allocations: 8 kB / 1.484 GB, free: 8.391 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001048/0.5854, allocations: 0.6726 MB / 1.484 GB, free: 7.711 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5855, allocations: 11.94 kB / 1.484 GB, free: 7.699 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5855, allocations: 4 kB / 1.484 GB, free: 7.695 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.5855, allocations: 19.98 kB / 1.484 GB, free: 7.676 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.5859, allocations: 119.9 kB / 1.484 GB, free: 7.559 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.862e-05/0.586, allocations: 15.94 kB / 1.484 GB, free: 7.543 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.5865, allocations: 30.39 kB / 1.484 GB, free: 7.516 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.5866, allocations: 27.98 kB / 1.485 GB, free: 7.488 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0003507/0.5869, allocations: 274 kB / 1.485 GB, free: 7.211 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.5871, allocations: 87.42 kB / 1.485 GB, free: 7.125 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.5872, allocations: 103.6 kB / 1.485 GB, free: 7.023 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007735/0.588, allocations: 0.6911 MB / 1.486 GB, free: 6.246 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.588, allocations: 0 / 1.486 GB, free: 6.246 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.5883, allocations: 208.5 kB / 1.486 GB, free: 6.023 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.957e-05/0.5884, allocations: 12 kB / 1.486 GB, free: 6.012 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.5889, allocations: 11.98 kB / 1.486 GB, free: 6 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.5889, allocations: 27.95 kB / 1.486 GB, free: 5.973 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001194/0.5901, allocations: 0.7386 MB / 1.487 GB, free: 5.227 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00125/0.5914, allocations: 1.04 MB / 1.488 GB, free: 4.168 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002947/0.5917, allocations: 207.8 kB / 1.488 GB, free: 3.965 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006221/0.5923, allocations: 0.4912 MB / 1.488 GB, free: 3.477 MB / 1.201 GB Notification: Performance of Backend: time 3.61e-07/0.5923, allocations: 0 / 1.488 GB, free: 3.477 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.594, allocations: 0.5837 MB / 1.489 GB, free: 2.906 MB / 1.201 GB Notification: Performance of SimCode: time 0.003653/0.5977, allocations: 2.273 MB / 1.491 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of Templates: time 0.02991/0.6276, allocations: 16.77 MB / 1.507 GB, free: 40 kB / 1.217 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches