Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 159.3 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.794/2.794, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 63.89 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7843, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.169/0.9533, allocations: 144.3 MB / 1.295 GB, free: 376 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.9647, allocations: 7.502 MB / 1.302 GB, free: 11.42 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005492/0.9652, allocations: 23 kB / 1.302 GB, free: 11.41 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.9663, allocations: 323.8 kB / 1.303 GB, free: 11.15 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.9682, allocations: 0.7603 MB / 1.303 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005911/0.9741, allocations: 2.158 MB / 1.305 GB, free: 8.996 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.9759, allocations: 1.373 MB / 1.307 GB, free: 8.203 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005958/0.9765, allocations: 354.9 kB / 1.307 GB, free: 7.953 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/0.98, allocations: 1.492 MB / 1.308 GB, free: 6.984 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.9808, allocations: 440.8 kB / 1.309 GB, free: 6.734 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.183e-05/0.9809, allocations: 51.66 kB / 1.309 GB, free: 6.734 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007165/0.988, allocations: 3.5 MB / 1.312 GB, free: 4.992 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.9882, allocations: 159 kB / 1.313 GB, free: 4.867 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.9887, allocations: 295.2 kB / 1.313 GB, free: 4.711 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.9926, allocations: 2.573 MB / 1.315 GB, free: 3.031 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9926, allocations: 0 / 1.315 GB, free: 3.031 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9926, allocations: 0 / 1.315 GB, free: 3.031 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.9926, allocations: 5.094 kB / 1.315 GB, free: 3.027 MB / 1.154 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.002222/0.9948, allocations: 0.9641 MB / 1.316 GB, free: 2.316 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.9948, allocations: 9.219 kB / 1.316 GB, free: 2.316 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.996, allocations: 142.8 kB / 1.316 GB, free: 2.246 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.9968, allocations: 365.6 kB / 1.317 GB, free: 1.922 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.9969, allocations: 45.31 kB / 1.317 GB, free: 1.875 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.997, allocations: 51.95 kB / 1.317 GB, free: 1.824 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.9984, allocations: 0.9905 MB / 1.318 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.9984, allocations: 0 / 1.318 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.9985, allocations: 27.98 kB / 1.318 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.9985, allocations: 12 kB / 1.318 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.9996, allocations: 471.5 kB / 1.318 GB, free: 212 kB / 1.154 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.01737/1.017, allocations: 5.512 MB / 1.324 GB, free: 10.61 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/1.017, allocations: 159.1 kB / 1.324 GB, free: 10.45 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/1.018, allocations: 117.2 kB / 1.324 GB, free: 10.33 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/1.031, allocations: 3.262 MB / 1.327 GB, free: 7.066 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.031, allocations: 38.8 kB / 1.327 GB, free: 7.02 MB / 1.17 GB Notification: Performance of pre-optimization done (n=27): time 1.864e-06/1.031, allocations: 0 / 1.327 GB, free: 7.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=40): time 0.09437/1.125, allocations: 30.54 MB / 1.357 GB, free: 8.477 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/1.125, allocations: 136.5 kB / 1.357 GB, free: 8.312 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/1.126, allocations: 357.5 kB / 1.357 GB, free: 7.961 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/1.126, allocations: 41.64 kB / 1.358 GB, free: 7.914 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/1.126, allocations: 332.4 kB / 1.358 GB, free: 7.582 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/1.126, allocations: 142.8 kB / 1.358 GB, free: 7.441 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/1.126, allocations: 102.3 kB / 1.358 GB, free: 7.336 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.127, allocations: 350.7 kB / 1.358 GB, free: 6.984 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/1.127, allocations: 189.2 kB / 1.359 GB, free: 6.797 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/1.128, allocations: 427.2 kB / 1.359 GB, free: 6.293 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/1.129, allocations: 0.5246 MB / 1.359 GB, free: 5.707 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.129, allocations: 4 kB / 1.36 GB, free: 5.703 MB / 1.201 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001872/1.131, allocations: 0.6919 MB / 1.36 GB, free: 5 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.131, allocations: 8 kB / 1.36 GB, free: 4.992 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.131, allocations: 4 kB / 1.36 GB, free: 4.988 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/1.131, allocations: 122 kB / 1.36 GB, free: 4.863 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/1.132, allocations: 111.8 kB / 1.36 GB, free: 4.754 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/1.135, allocations: 3.137 MB / 1.363 GB, free: 1.414 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/1.136, allocations: 32.09 kB / 1.364 GB, free: 1.383 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/1.136, allocations: 24 kB / 1.364 GB, free: 1.359 MB / 1.201 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.0002751/1.136, allocations: 198.9 kB / 1.364 GB, free: 1.156 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/1.136, allocations: 47.72 kB / 1.364 GB, free: 1.109 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/1.138, allocations: 0.643 MB / 1.364 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.138, allocations: 4 kB / 1.364 GB, free: 444 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/1.138, allocations: 0 / 1.364 GB, free: 444 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.138, allocations: 7.922 kB / 1.364 GB, free: 436 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/1.14, allocations: 1.039 MB / 1.365 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.14, allocations: 8.062 kB / 1.365 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/1.14, allocations: 63.84 kB / 1.365 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000268/1.141, allocations: 72.73 kB / 1.366 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/1.141, allocations: 12 kB / 1.366 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/1.143, allocations: 1.602 MB / 1.367 GB, free: 13.44 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.679e-06/1.143, allocations: 11.88 kB / 1.367 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/1.144, allocations: 0.7052 MB / 1.368 GB, free: 12.65 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/1.144, allocations: 39.88 kB / 1.368 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/1.144, allocations: 15.94 kB / 1.368 GB, free: 12.6 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/1.145, allocations: 23.98 kB / 1.368 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/1.145, allocations: 35.83 kB / 1.368 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/1.145, allocations: 20 kB / 1.368 GB, free: 12.52 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003425/1.145, allocations: 267.1 kB / 1.368 GB, free: 12.27 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/1.145, allocations: 0 / 1.368 GB, free: 12.27 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002089/1.147, allocations: 0.5579 MB / 1.369 GB, free: 11.71 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/1.149, allocations: 0.5601 MB / 1.369 GB, free: 11.14 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001558/1.151, allocations: 0.6342 MB / 1.37 GB, free: 10.48 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.151, allocations: 4 kB / 1.37 GB, free: 10.47 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000615/1.151, allocations: 283 kB / 1.37 GB, free: 10.18 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/1.153, allocations: 206 kB / 1.37 GB, free: 9.984 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/1.155, allocations: 1.128 MB / 1.371 GB, free: 8.777 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/1.155, allocations: 258.4 kB / 1.372 GB, free: 8.496 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003751/1.155, allocations: 94.47 kB / 1.372 GB, free: 8.41 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/1.155, allocations: 48.48 kB / 1.372 GB, free: 8.363 MB / 1.217 GB Notification: Performance of SimCode: time 3.5e-07/1.155, allocations: 4 kB / 1.372 GB, free: 8.359 MB / 1.217 GB Notification: Performance of Templates: time 0.03355/1.189, allocations: 20.7 MB / 1.392 GB, free: 3.922 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.46926856902428]