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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002743/0.002743, allocations: 190.5 kB / 22.23 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.213/3.213, allocations: 495.7 MB / 0.7831 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 65.92 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 173.6 MB / 1.307 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2054/0.5601, allocations: 164 MB / 1.467 GB, free: 13.26 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.5721, allocations: 8.175 MB / 1.475 GB, free: 5.059 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006173/0.5728, allocations: 23.88 kB / 1.475 GB, free: 5.035 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.5738, allocations: 357.8 kB / 1.475 GB, free: 4.684 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.5758, allocations: 0.7534 MB / 1.476 GB, free: 3.93 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005366/0.5812, allocations: 2.161 MB / 1.478 GB, free: 1.773 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.5832, allocations: 1.391 MB / 1.48 GB, free: 388 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006068/0.5838, allocations: 370.1 kB / 1.48 GB, free: 8 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/0.5875, allocations: 1.486 MB / 1.482 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007202/0.5882, allocations: 474 kB / 1.482 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.198e-05/0.5883, allocations: 52 kB / 1.482 GB, free: 14 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007455/0.5957, allocations: 3.636 MB / 1.486 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.596, allocations: 151.5 kB / 1.486 GB, free: 10.21 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.5965, allocations: 350.4 kB / 1.486 GB, free: 9.867 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004506/0.601, allocations: 2.568 MB / 1.489 GB, free: 7.293 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.601, allocations: 0 / 1.489 GB, free: 7.293 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.694e-06/0.601, allocations: 0 / 1.489 GB, free: 7.293 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.601, allocations: 0 / 1.489 GB, free: 7.293 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002326/0.6033, allocations: 0.9679 MB / 1.489 GB, free: 6.293 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.6034, allocations: 8.031 kB / 1.489 GB, free: 6.285 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.6045, allocations: 139.5 kB / 1.49 GB, free: 6.148 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.6053, allocations: 371.3 kB / 1.49 GB, free: 5.758 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.6053, allocations: 49.25 kB / 1.49 GB, free: 5.707 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.6054, allocations: 51.94 kB / 1.49 GB, free: 5.656 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.6067, allocations: 0.6642 MB / 1.491 GB, free: 4.945 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6067, allocations: 0 / 1.491 GB, free: 4.945 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-05/0.6068, allocations: 24 kB / 1.491 GB, free: 4.922 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.6068, allocations: 12 kB / 1.491 GB, free: 4.91 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.6079, allocations: 475.5 kB / 1.491 GB, free: 4.445 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.01711/0.625, allocations: 5.978 MB / 1.497 GB, free: 14.31 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.6254, allocations: 155.1 kB / 1.497 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.6257, allocations: 117.3 kB / 1.497 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.6381, allocations: 3.254 MB / 1.5 GB, free: 10.77 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.6381, allocations: 42.78 kB / 1.501 GB, free: 10.72 MB / 1.201 GB Notification: Performance of pre-optimization done (n=27): time 2.114e-06/0.6381, allocations: 0 / 1.501 GB, free: 10.72 MB / 1.201 GB Notification: Performance of matching and sorting (n=40): time 0.09196/0.7301, allocations: 30.54 MB / 1.53 GB, free: 12.18 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.7302, allocations: 136.5 kB / 1.53 GB, free: 12.01 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.7309, allocations: 465.8 kB / 1.531 GB, free: 11.55 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.7309, allocations: 33.7 kB / 1.531 GB, free: 11.51 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.7312, allocations: 312.2 kB / 1.531 GB, free: 11.2 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.7313, allocations: 150.7 kB / 1.531 GB, free: 11.05 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.7315, allocations: 110.3 kB / 1.532 GB, free: 10.94 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.7317, allocations: 358.8 kB / 1.532 GB, free: 10.58 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.7321, allocations: 185.1 kB / 1.532 GB, free: 10.4 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.7328, allocations: 350.1 kB / 1.532 GB, free: 9.988 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.7338, allocations: 0.5152 MB / 1.533 GB, free: 9.414 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7338, allocations: 4 kB / 1.533 GB, free: 9.41 MB / 1.232 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001936/0.7357, allocations: 0.6939 MB / 1.534 GB, free: 8.703 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.7357, allocations: 8.016 kB / 1.534 GB, free: 8.695 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.7358, allocations: 12 kB / 1.534 GB, free: 8.684 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.7363, allocations: 113.6 kB / 1.534 GB, free: 8.566 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.7368, allocations: 111.8 kB / 1.534 GB, free: 8.457 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/0.7404, allocations: 3.204 MB / 1.537 GB, free: 5.027 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.7411, allocations: 31.97 kB / 1.537 GB, free: 4.996 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.7411, allocations: 24 kB / 1.537 GB, free: 4.973 MB / 1.232 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.0003273/0.7414, allocations: 197.7 kB / 1.537 GB, free: 4.77 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.7417, allocations: 59.61 kB / 1.537 GB, free: 4.711 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.7432, allocations: 0.6513 MB / 1.538 GB, free: 4.023 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7432, allocations: 4 kB / 1.538 GB, free: 4.02 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7432, allocations: 0 / 1.538 GB, free: 4.02 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7433, allocations: 0 / 1.538 GB, free: 4.02 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.7456, allocations: 1.174 MB / 1.539 GB, free: 2.746 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.7456, allocations: 8.031 kB / 1.539 GB, free: 2.738 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.746, allocations: 59.91 kB / 1.539 GB, free: 2.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.7462, allocations: 68.8 kB / 1.539 GB, free: 2.609 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.7463, allocations: 16 kB / 1.539 GB, free: 2.594 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.7484, allocations: 1.637 MB / 1.541 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-05/0.7484, allocations: 11.92 kB / 1.541 GB, free: 0.8359 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.7501, allocations: 0.7252 MB / 1.541 GB, free: 44 kB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.7503, allocations: 51.84 kB / 1.542 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.7504, allocations: 12 kB / 1.542 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.7508, allocations: 19.98 kB / 1.542 GB, free: 15.96 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.751, allocations: 43.7 kB / 1.542 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.751, allocations: 15.98 kB / 1.542 GB, free: 15.9 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005791/0.7516, allocations: 354.9 kB / 1.542 GB, free: 15.55 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7516, allocations: 3.938 kB / 1.542 GB, free: 15.55 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002676/0.7542, allocations: 0.5656 MB / 1.542 GB, free: 14.98 MB / 1.248 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.002455/0.7567, allocations: 0.5625 MB / 1.543 GB, free: 14.43 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.7586, allocations: 0.6424 MB / 1.544 GB, free: 13.76 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.7586, allocations: 4 kB / 1.544 GB, free: 13.75 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/0.7593, allocations: 278.3 kB / 1.544 GB, free: 13.47 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.761, allocations: 317.2 kB / 1.544 GB, free: 13.17 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.7636, allocations: 1.132 MB / 1.545 GB, free: 11.95 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.7643, allocations: 0.8667 MB / 1.546 GB, free: 11.06 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005006/0.7648, allocations: 111.6 kB / 1.546 GB, free: 10.96 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.765, allocations: 51.42 kB / 1.546 GB, free: 10.91 MB / 1.248 GB Notification: Performance of SimCode: time 1.142e-06/0.765, allocations: 0 / 1.546 GB, free: 10.91 MB / 1.248 GB Notification: Performance of Templates: time 0.04303/0.808, allocations: 23.43 MB / 1.569 GB, free: 3.699 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.334114574827254]