Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.002015/0.002015, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002726/0.002726, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.627/1.627, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.727/3.727, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mHot_flow_set.y|souHot.T_in|orc.cyc.TWorEva|orc.cyc.mWor_flow|orc.cyc.mWor_flow_max|orc.cyc.mWor_flow_min|orc.cyc.dTPinEva|orc.cyc.dTPinEva_set|orc.ena|orc.on_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mHot_flow_set.y|souHot.T_in|orc.cyc.TWorEva|orc.cyc.mWor_flow|orc.cyc.mWor_flow_max|orc.cyc.mWor_flow_min|orc.cyc.dTPinEva|orc.cyc.dTPinEva_set|orc.ena|orc.on_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [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.002182/0.002182, allocations: 71.67 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5145, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3077/0.8223, allocations: 199.9 MB / 1.559 GB, free: 5.012 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02651/0.8488, allocations: 11.83 MB / 1.571 GB, free: 9.152 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004851/0.8536, allocations: 95.19 kB / 1.571 GB, free: 9.059 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004662/0.8583, allocations: 1.162 MB / 1.572 GB, free: 7.891 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.8706, allocations: 3.301 MB / 1.575 GB, free: 4.578 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.8771, allocations: 1.845 MB / 1.577 GB, free: 2.746 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.008693/0.8858, allocations: 4.196 MB / 1.581 GB, free: 14.53 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.8882, allocations: 1.117 MB / 1.582 GB, free: 13.38 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007088/0.8953, allocations: 2.213 MB / 1.584 GB, free: 11.16 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.8988, allocations: 1.377 MB / 1.586 GB, free: 9.781 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004163/0.8992, allocations: 187.9 kB / 1.586 GB, free: 9.598 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006495/0.9057, allocations: 2.284 MB / 1.588 GB, free: 7.309 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.9073, allocations: 0.9813 MB / 1.589 GB, free: 6.324 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.9095, allocations: 1.061 MB / 1.59 GB, free: 5.258 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.9196, allocations: 4.391 MB / 1.594 GB, free: 0.8516 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.9196, allocations: 0 / 1.594 GB, free: 0.8516 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.976e-06/0.9196, allocations: 0 / 1.594 GB, free: 0.8516 MB / 1.279 GB Notification: Performance of Transformations before backend: time 6.787e-05/0.9196, allocations: 0 / 1.594 GB, free: 0.8516 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.0077/0.9274, allocations: 3.093 MB / 1.597 GB, free: 13.7 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.9274, allocations: 12.03 kB / 1.597 GB, free: 13.68 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004611/0.932, allocations: 0.8022 MB / 1.598 GB, free: 12.88 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005592/0.9376, allocations: 2.475 MB / 1.6 GB, free: 10.34 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.9378, allocations: 141.5 kB / 1.601 GB, free: 10.19 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/0.9381, allocations: 108 kB / 1.601 GB, free: 10.09 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004527/0.9426, allocations: 2.253 MB / 1.603 GB, free: 7.719 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.9426, allocations: 0 / 1.603 GB, free: 7.719 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.9427, allocations: 44 kB / 1.603 GB, free: 7.676 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.637e-05/0.9428, allocations: 38.08 kB / 1.603 GB, free: 7.637 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005332/0.9482, allocations: 2.623 MB / 1.606 GB, free: 4.992 MB / 1.295 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 1.173/2.122, allocations: 6.617 MB / 1.612 GB, free: 244.9 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005597/2.127, allocations: 2.005 MB / 1.614 GB, free: 244.9 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/2.13, allocations: 0.953 MB / 1.615 GB, free: 244.6 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009159/2.131, allocations: 163.4 kB / 1.615 GB, free: 244.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002913/2.134, allocations: 1.18 MB / 1.616 GB, free: 244 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 4.158e-06/2.134, allocations: 0.6562 kB / 1.616 GB, free: 244 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02569/2.159, allocations: 5.736 MB / 1.622 GB, free: 242.8 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/2.159, allocations: 148.6 kB / 1.622 GB, free: 242.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/2.171, allocations: 3.706 MB / 1.626 GB, free: 241.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004502/2.171, allocations: 44.89 kB / 1.626 GB, free: 241.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/2.173, allocations: 1.039 MB / 1.627 GB, free: 240.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008388/2.174, allocations: 314 kB / 1.627 GB, free: 240.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/2.175, allocations: 217.1 kB / 1.627 GB, free: 240.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001531/2.175, allocations: 352.8 kB / 1.627 GB, free: 240 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/2.178, allocations: 1.149 MB / 1.629 GB, free: 239.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/2.181, allocations: 1.591 MB / 1.63 GB, free: 238.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/2.185, allocations: 2.187 MB / 1.632 GB, free: 237.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/2.185, allocations: 1.062 kB / 1.632 GB, free: 237.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01017/2.196, allocations: 3.727 MB / 1.636 GB, free: 236.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/2.196, allocations: 76.03 kB / 1.636 GB, free: 236.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/2.196, allocations: 5.062 kB / 1.636 GB, free: 236.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005367/2.201, allocations: 1.917 MB / 1.638 GB, free: 235.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/2.202, allocations: 181 kB / 1.638 GB, free: 235.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009515/2.212, allocations: 6.355 MB / 1.644 GB, free: 231.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/2.214, allocations: 202.2 kB / 1.644 GB, free: 231.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003573/2.215, allocations: 51.38 kB / 1.644 GB, free: 231.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001798/2.216, allocations: 0.6543 MB / 1.645 GB, free: 230.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/2.217, allocations: 234.6 kB / 1.645 GB, free: 230.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00943/2.227, allocations: 3.234 MB / 1.648 GB, free: 229.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/2.227, allocations: 11.33 kB / 1.648 GB, free: 229.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/2.227, allocations: 0 / 1.648 GB, free: 229.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/2.227, allocations: 5.656 kB / 1.648 GB, free: 229.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/2.242, allocations: 5.168 MB / 1.654 GB, free: 227.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/2.242, allocations: 3.797 kB / 1.654 GB, free: 227.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006576/2.243, allocations: 102.8 kB / 1.654 GB, free: 227.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004105/2.247, allocations: 1.92 MB / 1.656 GB, free: 227.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/2.247, allocations: 26.98 kB / 1.656 GB, free: 227.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/2.255, allocations: 6.308 MB / 1.662 GB, free: 221.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/2.255, allocations: 10.73 kB / 1.662 GB, free: 221.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007377/2.262, allocations: 3.309 MB / 1.665 GB, free: 218.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/2.264, allocations: 420.2 kB / 1.665 GB, free: 217.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008166/2.265, allocations: 24 kB / 1.665 GB, free: 217.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/2.267, allocations: 116.6 kB / 1.665 GB, free: 217.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/2.267, allocations: 76.47 kB / 1.666 GB, free: 217.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/2.267, allocations: 43.97 kB / 1.666 GB, free: 217.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004143/2.271, allocations: 2.717 MB / 1.668 GB, free: 214.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.4e-07/2.271, allocations: 0 / 1.668 GB, free: 214.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003154/2.274, allocations: 0.7458 MB / 1.669 GB, free: 214.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001427/2.276, allocations: 492.6 kB / 1.669 GB, free: 213.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005299/2.281, allocations: 2.674 MB / 1.672 GB, free: 211 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/2.281, allocations: 4.125 kB / 1.672 GB, free: 211 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/2.283, allocations: 1.39 MB / 1.673 GB, free: 209.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/2.288, allocations: 0.7988 MB / 1.674 GB, free: 208.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00966/2.298, allocations: 4.782 MB / 1.679 GB, free: 203.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/2.3, allocations: 1.11 MB / 1.68 GB, free: 202.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001632/2.301, allocations: 331.5 kB / 1.68 GB, free: 202.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/2.302, allocations: 123.4 kB / 1.68 GB, free: 202.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.904e-06/2.302, allocations: 5.312 kB / 1.68 GB, free: 202.3 MB / 1.295 GB Notification: Performance of Templates: time 0.06857/2.37, allocations: 48.15 MB / 1.727 GB, free: 155 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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: 13.932421620935202]