Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") 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: 116.9 kB / 16.42 MB, free: 6.023 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.001755/0.001755, allocations: 182.7 kB / 17.35 MB, free: 5.629 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.7784, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1964/0.9748, allocations: 177.2 MB / 1.34 GB, free: 2.027 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007609/0.9825, allocations: 4.386 MB / 1.345 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.9837, allocations: 31.81 kB / 1.345 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.9851, allocations: 369.8 kB / 1.345 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.989, allocations: 1.305 MB / 1.346 GB, free: 11.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.991, allocations: 0.7069 MB / 1.347 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.9934, allocations: 1.621 MB / 1.349 GB, free: 9.598 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009554/0.9943, allocations: 0.5252 MB / 1.349 GB, free: 9.066 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.9959, allocations: 0.6983 MB / 1.35 GB, free: 8.367 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.9971, allocations: 491.7 kB / 1.35 GB, free: 7.887 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.9973, allocations: 52 kB / 1.35 GB, free: 7.836 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.9997, allocations: 1.298 MB / 1.351 GB, free: 6.535 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/1, allocations: 243.3 kB / 1.352 GB, free: 6.297 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006243/1.001, allocations: 346.4 kB / 1.352 GB, free: 5.957 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/1.003, allocations: 1.278 MB / 1.353 GB, free: 4.676 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.003, allocations: 4 kB / 1.353 GB, free: 4.672 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.673e-06/1.003, allocations: 0 / 1.353 GB, free: 4.672 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.687e-05/1.003, allocations: 0 / 1.353 GB, free: 4.672 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001984/1.005, allocations: 1.001 MB / 1.354 GB, free: 3.621 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.005, allocations: 8.922 kB / 1.354 GB, free: 3.613 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/1.006, allocations: 171 kB / 1.354 GB, free: 3.445 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.007, allocations: 0.5635 MB / 1.355 GB, free: 2.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/1.008, allocations: 36.98 kB / 1.355 GB, free: 2.805 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/1.008, allocations: 44 kB / 1.355 GB, free: 2.762 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008912/1.009, allocations: 462.3 kB / 1.356 GB, free: 2.305 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.009, allocations: 0 / 1.356 GB, free: 2.305 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/1.009, allocations: 23.94 kB / 1.356 GB, free: 2.281 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/1.009, allocations: 17 kB / 1.356 GB, free: 2.262 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/1.009, allocations: 423.7 kB / 1.356 GB, free: 1.852 MB / 1.076 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.002952/1.012, allocations: 2.031 MB / 1.358 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/1.013, allocations: 298.2 kB / 1.358 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/1.013, allocations: 191 kB / 1.358 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/1.014, allocations: 190.2 kB / 1.359 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/1.014, allocations: 46.5 kB / 1.359 GB, free: 14.88 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/1.014, allocations: 0 / 1.359 GB, free: 14.88 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.001643/1.015, allocations: 0.6355 MB / 1.359 GB, free: 14.21 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.015, allocations: 55.41 kB / 1.359 GB, free: 14.14 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/1.016, allocations: 442 kB / 1.36 GB, free: 13.7 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/1.016, allocations: 33.7 kB / 1.36 GB, free: 13.66 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/1.016, allocations: 284 kB / 1.36 GB, free: 13.38 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.431e-05/1.016, allocations: 106.5 kB / 1.36 GB, free: 13.27 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.016, allocations: 73.59 kB / 1.36 GB, free: 13.2 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.016, allocations: 354.8 kB / 1.361 GB, free: 12.84 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/1.017, allocations: 128.8 kB / 1.361 GB, free: 12.71 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/1.017, allocations: 211.8 kB / 1.361 GB, free: 12.48 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/1.018, allocations: 330.5 kB / 1.361 GB, free: 12.14 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.018, allocations: 0 / 1.361 GB, free: 12.14 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007482/1.018, allocations: 408.8 kB / 1.362 GB, free: 11.73 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.018, allocations: 7.938 kB / 1.362 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.019, allocations: 0 / 1.362 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.019, allocations: 4 kB / 1.362 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.019, allocations: 68 kB / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.019, allocations: 15.92 kB / 1.362 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/1.019, allocations: 39.67 kB / 1.362 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/1.019, allocations: 12 kB / 1.362 GB, free: 11.59 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004207/1.02, allocations: 292 kB / 1.362 GB, free: 11.3 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003113/1.02, allocations: 198.8 kB / 1.362 GB, free: 11.08 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005342/1.021, allocations: 321 kB / 1.363 GB, free: 10.75 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/1.021, allocations: 0 / 1.363 GB, free: 10.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.000723/1.021, allocations: 405.1 kB / 1.363 GB, free: 10.35 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.021, allocations: 8 kB / 1.363 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.021, allocations: 3.938 kB / 1.363 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/1.022, allocations: 4.125 kB / 1.363 GB, free: 10.33 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/1.022, allocations: 80.05 kB / 1.363 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.022, allocations: 7.938 kB / 1.363 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/1.022, allocations: 23.83 kB / 1.363 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/1.022, allocations: 16 kB / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001363/1.022, allocations: 196.1 kB / 1.363 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/1.023, allocations: 59.31 kB / 1.363 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/1.023, allocations: 419.1 kB / 1.364 GB, free: 9.531 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007177/1.024, allocations: 446.4 kB / 1.364 GB, free: 9.062 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.024, allocations: 0 / 1.364 GB, free: 9.062 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/1.024, allocations: 172.3 kB / 1.364 GB, free: 8.875 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/1.025, allocations: 4 kB / 1.364 GB, free: 8.871 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/1.025, allocations: 19.98 kB / 1.364 GB, free: 8.852 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/1.025, allocations: 15.97 kB / 1.364 GB, free: 8.836 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001044/1.026, allocations: 481.5 kB / 1.365 GB, free: 8.355 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009938/1.027, allocations: 0.6938 MB / 1.365 GB, free: 7.645 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002752/1.027, allocations: 152.7 kB / 1.366 GB, free: 7.496 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003474/1.028, allocations: 322.9 kB / 1.366 GB, free: 7.184 MB / 1.092 GB Notification: Performance of Backend: time 7.82e-07/1.028, allocations: 3.938 kB / 1.366 GB, free: 7.18 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.03, allocations: 0.7053 MB / 1.367 GB, free: 6.48 MB / 1.092 GB Notification: Performance of SimCode: time 0.002665/1.032, allocations: 1.643 MB / 1.368 GB, free: 4.793 MB / 1.092 GB Notification: Performance of Templates: time 0.0233/1.056, allocations: 13.65 MB / 1.382 GB, free: 7.301 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches