Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001527/0.001527, allocations: 119 kB / 16.42 MB, free: 6.48 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.00166/0.00166, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.649/2.649, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 71.89 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7643/0.7668, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1897/0.9566, allocations: 177.1 MB / 1.399 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007299/0.9639, allocations: 4.421 MB / 1.404 GB, free: 7.234 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.9647, allocations: 27.88 kB / 1.404 GB, free: 7.207 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.9657, allocations: 365.8 kB / 1.404 GB, free: 6.848 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.9688, allocations: 1.31 MB / 1.405 GB, free: 5.535 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.9705, allocations: 0.7002 MB / 1.406 GB, free: 4.84 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.9726, allocations: 1.618 MB / 1.408 GB, free: 3.219 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008223/0.9735, allocations: 0.5291 MB / 1.408 GB, free: 2.684 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.9748, allocations: 0.7004 MB / 1.409 GB, free: 1.98 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.9761, allocations: 498.3 kB / 1.409 GB, free: 1.496 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.9762, allocations: 52 kB / 1.409 GB, free: 1.445 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.9786, allocations: 1.29 MB / 1.411 GB, free: 156 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.9789, allocations: 239.3 kB / 1.411 GB, free: 15.92 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.9795, allocations: 350.3 kB / 1.411 GB, free: 15.57 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.9817, allocations: 1.277 MB / 1.412 GB, free: 14.29 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9817, allocations: 0 / 1.412 GB, free: 14.29 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9817, allocations: 0 / 1.412 GB, free: 14.29 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.548e-05/0.9817, allocations: 0 / 1.412 GB, free: 14.29 MB / 1.139 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.001815/0.9835, allocations: 1.027 MB / 1.413 GB, free: 13.21 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.9836, allocations: 12.02 kB / 1.413 GB, free: 13.2 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.9848, allocations: 183.4 kB / 1.414 GB, free: 13.02 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.9859, allocations: 0.5639 MB / 1.414 GB, free: 12.42 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.986, allocations: 33 kB / 1.414 GB, free: 12.39 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.9861, allocations: 40 kB / 1.414 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008901/0.987, allocations: 474.2 kB / 1.415 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.987, allocations: 4 kB / 1.415 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.9871, allocations: 16 kB / 1.415 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.9871, allocations: 13 kB / 1.415 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.9879, allocations: 415.7 kB / 1.415 GB, free: 11.44 MB / 1.139 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.003038/0.991, allocations: 2.036 MB / 1.417 GB, free: 9.219 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.9915, allocations: 294.7 kB / 1.417 GB, free: 8.922 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.9919, allocations: 188.8 kB / 1.417 GB, free: 8.734 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.9922, allocations: 198.1 kB / 1.418 GB, free: 8.504 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.9923, allocations: 34.56 kB / 1.418 GB, free: 8.461 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 2.695e-06/0.9923, allocations: 0 / 1.418 GB, free: 8.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=30): time 0.001738/0.994, allocations: 0.6434 MB / 1.418 GB, free: 7.789 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.9941, allocations: 55.41 kB / 1.418 GB, free: 7.723 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.9946, allocations: 446 kB / 1.419 GB, free: 7.273 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.9946, allocations: 33.7 kB / 1.419 GB, free: 7.234 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.9949, allocations: 292.5 kB / 1.419 GB, free: 6.945 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.995, allocations: 107 kB / 1.419 GB, free: 6.84 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.9951, allocations: 69.66 kB / 1.419 GB, free: 6.766 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9952, allocations: 358.8 kB / 1.42 GB, free: 6.406 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.9955, allocations: 136.7 kB / 1.42 GB, free: 6.27 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.9958, allocations: 206.2 kB / 1.42 GB, free: 6.043 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.9964, allocations: 336.9 kB / 1.42 GB, free: 5.695 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.9964, allocations: 4.062 kB / 1.42 GB, free: 5.691 MB / 1.139 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007339/0.9972, allocations: 409.2 kB / 1.421 GB, free: 5.285 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9972, allocations: 7.938 kB / 1.421 GB, free: 5.277 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.9972, allocations: 0 / 1.421 GB, free: 5.277 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9972, allocations: 4 kB / 1.421 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.9976, allocations: 75.89 kB / 1.421 GB, free: 5.199 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.9976, allocations: 0 / 1.421 GB, free: 5.199 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.9981, allocations: 35.77 kB / 1.421 GB, free: 5.164 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.9981, allocations: 16 kB / 1.421 GB, free: 5.148 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000426/0.9985, allocations: 292.1 kB / 1.421 GB, free: 4.859 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003251/0.9989, allocations: 202.7 kB / 1.421 GB, free: 4.637 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005317/0.9994, allocations: 321 kB / 1.422 GB, free: 4.305 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.9994, allocations: 0 / 1.422 GB, free: 4.305 MB / 1.139 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007471/1, allocations: 409.4 kB / 1.422 GB, free: 3.898 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1, allocations: 8 kB / 1.422 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/1, allocations: 3.938 kB / 1.422 GB, free: 3.887 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/1, allocations: 4 kB / 1.422 GB, free: 3.883 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/1.001, allocations: 67.89 kB / 1.422 GB, free: 3.816 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.001, allocations: 4 kB / 1.422 GB, free: 3.812 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/1.001, allocations: 35.83 kB / 1.422 GB, free: 3.777 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/1.001, allocations: 8 kB / 1.422 GB, free: 3.77 MB / 1.139 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.0001382/1.001, allocations: 204.3 kB / 1.422 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/1.001, allocations: 51.66 kB / 1.422 GB, free: 3.512 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008162/1.002, allocations: 416.1 kB / 1.423 GB, free: 3.098 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006878/1.003, allocations: 453.4 kB / 1.423 GB, free: 2.621 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/1.003, allocations: 0 / 1.423 GB, free: 2.621 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/1.003, allocations: 168.6 kB / 1.423 GB, free: 2.438 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/1.003, allocations: 4 kB / 1.423 GB, free: 2.434 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/1.003, allocations: 19.92 kB / 1.423 GB, free: 2.414 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/1.004, allocations: 23.97 kB / 1.423 GB, free: 2.391 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009874/1.005, allocations: 485.5 kB / 1.424 GB, free: 1.906 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009584/1.006, allocations: 0.6935 MB / 1.425 GB, free: 1.195 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002699/1.006, allocations: 160.7 kB / 1.425 GB, free: 1.039 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003285/1.006, allocations: 322.8 kB / 1.425 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of Backend: time 4.71e-07/1.006, allocations: 0 / 1.425 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001875/1.008, allocations: 0.7167 MB / 1.426 GB, free: 16 kB / 1.139 GB Notification: Performance of SimCode: time 0.002422/1.01, allocations: 1.647 MB / 1.427 GB, free: 14.32 MB / 1.154 GB Notification: Performance of Templates: time 0.02193/1.032, allocations: 13.65 MB / 1.441 GB, free: 0.8047 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches