Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 115.8 kB / 16.42 MB, free: 6.453 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.002008/0.002008, allocations: 187.9 kB / 17.35 MB, free: 5.734 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.429/1.429, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.696/2.696, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.89 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/0.8576, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1785/1.036, allocations: 163.2 MB / 1.386 GB, free: 9.703 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01305/1.049, allocations: 8.12 MB / 1.394 GB, free: 1.559 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/1.05, allocations: 19.88 kB / 1.394 GB, free: 1.539 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/1.052, allocations: 365.8 kB / 1.394 GB, free: 1.18 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/1.055, allocations: 0.7424 MB / 1.395 GB, free: 444 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006048/1.061, allocations: 2.152 MB / 1.397 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001944/1.063, allocations: 1.376 MB / 1.398 GB, free: 12.91 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008022/1.064, allocations: 429.5 kB / 1.399 GB, free: 12.49 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/1.067, allocations: 1.463 MB / 1.4 GB, free: 11.02 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008759/1.068, allocations: 438.2 kB / 1.4 GB, free: 10.59 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/1.068, allocations: 52 kB / 1.4 GB, free: 10.54 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007444/1.076, allocations: 3.628 MB / 1.404 GB, free: 6.906 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/1.076, allocations: 163.4 kB / 1.404 GB, free: 6.746 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007285/1.077, allocations: 342.5 kB / 1.405 GB, free: 6.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/1.082, allocations: 2.568 MB / 1.407 GB, free: 3.836 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.082, allocations: 0 / 1.407 GB, free: 3.836 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.452e-06/1.082, allocations: 0 / 1.407 GB, free: 3.836 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.341e-05/1.082, allocations: 3.938 kB / 1.407 GB, free: 3.832 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002561/1.085, allocations: 1.047 MB / 1.408 GB, free: 2.734 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.085, allocations: 8.031 kB / 1.408 GB, free: 2.727 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/1.086, allocations: 139.5 kB / 1.408 GB, free: 2.59 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/1.087, allocations: 433.8 kB / 1.409 GB, free: 2.129 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/1.087, allocations: 37.31 kB / 1.409 GB, free: 2.09 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/1.087, allocations: 52 kB / 1.409 GB, free: 2.039 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/1.089, allocations: 0.6526 MB / 1.409 GB, free: 1.336 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/1.089, allocations: 3.938 kB / 1.409 GB, free: 1.332 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/1.089, allocations: 28 kB / 1.409 GB, free: 1.305 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/1.089, allocations: 16 kB / 1.409 GB, free: 1.289 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/1.09, allocations: 467.5 kB / 1.41 GB, free: 0.8359 MB / 1.123 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.01622/1.106, allocations: 6.491 MB / 1.416 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/1.107, allocations: 163.2 kB / 1.416 GB, free: 9.895 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/1.107, allocations: 121.3 kB / 1.416 GB, free: 9.773 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/1.118, allocations: 3.853 MB / 1.42 GB, free: 5.77 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/1.119, allocations: 42.8 kB / 1.42 GB, free: 5.719 MB / 1.139 GB Notification: Performance of pre-optimization done (n=27): time 3.166e-06/1.119, allocations: 0 / 1.42 GB, free: 5.719 MB / 1.139 GB Notification: Performance of matching and sorting (n=40): time 0.08214/1.201, allocations: 30.62 MB / 1.45 GB, free: 7.07 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/1.201, allocations: 144.4 kB / 1.45 GB, free: 6.898 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/1.201, allocations: 469.7 kB / 1.451 GB, free: 6.438 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/1.202, allocations: 29.7 kB / 1.451 GB, free: 6.402 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/1.202, allocations: 312.2 kB / 1.451 GB, free: 6.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/1.202, allocations: 150.7 kB / 1.451 GB, free: 5.941 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/1.202, allocations: 102.2 kB / 1.451 GB, free: 5.832 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.202, allocations: 358.8 kB / 1.452 GB, free: 5.473 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/1.203, allocations: 185 kB / 1.452 GB, free: 5.293 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/1.203, allocations: 349.2 kB / 1.452 GB, free: 4.883 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009475/1.204, allocations: 0.518 MB / 1.453 GB, free: 4.305 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.204, allocations: 0 / 1.453 GB, free: 4.305 MB / 1.17 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001861/1.206, allocations: 0.6998 MB / 1.453 GB, free: 3.594 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.206, allocations: 4 kB / 1.453 GB, free: 3.59 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.206, allocations: 4 kB / 1.453 GB, free: 3.586 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/1.207, allocations: 126 kB / 1.453 GB, free: 3.457 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/1.207, allocations: 115.9 kB / 1.454 GB, free: 3.344 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/1.211, allocations: 3.41 MB / 1.457 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/1.211, allocations: 27.98 kB / 1.457 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/1.211, allocations: 23.98 kB / 1.457 GB, free: 15.6 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003128/1.212, allocations: 198.2 kB / 1.457 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/1.212, allocations: 59.61 kB / 1.457 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.213, allocations: 0.6458 MB / 1.458 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.213, allocations: 7.984 kB / 1.458 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.213, allocations: 3.938 kB / 1.458 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/1.214, allocations: 120.8 kB / 1.458 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/1.214, allocations: 7.984 kB / 1.458 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/1.214, allocations: 19.98 kB / 1.458 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/1.214, allocations: 23.95 kB / 1.458 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001512/1.216, allocations: 0.5218 MB / 1.458 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001414/1.217, allocations: 0.7174 MB / 1.459 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00033/1.217, allocations: 147.9 kB / 1.459 GB, free: 13.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004449/1.218, allocations: 346.8 kB / 1.46 GB, free: 12.71 MB / 1.186 GB Notification: Performance of Backend: time 7.41e-07/1.218, allocations: 0 / 1.46 GB, free: 12.71 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.229, allocations: 1.431 MB / 1.461 GB, free: 11.26 MB / 1.186 GB Notification: Performance of SimCode: time 0.002821/1.232, allocations: 1.698 MB / 1.463 GB, free: 9.508 MB / 1.186 GB Notification: Performance of Templates: time 0.1028/1.335, allocations: 65.97 MB / 1.527 GB, free: 8.102 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches