Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001934/0.001934, allocations: 103 kB / 16.45 MB, free: 6.5 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.002241/0.002241, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.539/1.539, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.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 3.325/3.325, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_12_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_12_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.002123/0.002123, allocations: 73.33 kB / 1.149 GB, free: 25.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4405, allocations: 176.1 MB / 1.321 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2895/0.73, allocations: 228.8 MB / 1.545 GB, free: 13.13 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.7524, allocations: 12.7 MB / 1.557 GB, free: 408 kB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003828/0.7563, allocations: 99.19 kB / 1.557 GB, free: 308 kB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.7601, allocations: 1.22 MB / 1.558 GB, free: 15.07 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.00954/0.7696, allocations: 3.282 MB / 1.562 GB, free: 11.78 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005437/0.775, allocations: 1.834 MB / 1.563 GB, free: 9.961 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007167/0.7822, allocations: 4.169 MB / 1.567 GB, free: 5.781 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.7846, allocations: 1.175 MB / 1.569 GB, free: 4.574 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006135/0.7908, allocations: 2.179 MB / 1.571 GB, free: 2.387 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/0.7957, allocations: 1.463 MB / 1.572 GB, free: 0.9219 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0009684/0.7966, allocations: 184 kB / 1.572 GB, free: 0.7422 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009966/0.8066, allocations: 2.807 MB / 1.575 GB, free: 13.93 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00209/0.8087, allocations: 0.9891 MB / 1.576 GB, free: 12.94 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.004212/0.8129, allocations: 1.325 MB / 1.577 GB, free: 11.61 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.8238, allocations: 4.437 MB / 1.582 GB, free: 7.152 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8238, allocations: 0 / 1.582 GB, free: 7.152 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8238, allocations: 0 / 1.582 GB, free: 7.152 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001204/0.8239, allocations: 0 / 1.582 GB, free: 7.152 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.007693/0.8316, allocations: 3.176 MB / 1.585 GB, free: 3.895 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.8316, allocations: 11.98 kB / 1.585 GB, free: 3.883 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/0.8365, allocations: 0.8022 MB / 1.585 GB, free: 3.078 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/0.8415, allocations: 2.543 MB / 1.588 GB, free: 476 kB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.8416, allocations: 115.8 kB / 1.588 GB, free: 352 kB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/0.8419, allocations: 111.9 kB / 1.588 GB, free: 240 kB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/0.8462, allocations: 2.062 MB / 1.59 GB, free: 14.1 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.8462, allocations: 0 / 1.59 GB, free: 14.1 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.8463, allocations: 47.98 kB / 1.59 GB, free: 14.05 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-05/0.8464, allocations: 42.06 kB / 1.59 GB, free: 14.01 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005207/0.8516, allocations: 2.565 MB / 1.593 GB, free: 11.44 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 0.01446/0.8661, allocations: 8.149 MB / 1.601 GB, free: 2.969 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.8708, allocations: 2.097 MB / 1.603 GB, free: 0.8281 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7765/1.647, allocations: 0.8824 MB / 1.604 GB, free: 281.8 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.648, allocations: 1.059 MB / 1.605 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002392/1.651, allocations: 1.013 MB / 1.606 GB, free: 280.6 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.176e-06/1.651, allocations: 1.031 kB / 1.606 GB, free: 280.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02487/1.676, allocations: 5.943 MB / 1.612 GB, free: 279.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/1.676, allocations: 145.7 kB / 1.612 GB, free: 279.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007525/1.683, allocations: 3.982 MB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003056/1.684, allocations: 48.48 kB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009708/1.685, allocations: 1.022 MB / 1.617 GB, free: 277.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/1.685, allocations: 312.2 kB / 1.617 GB, free: 277.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005136/1.686, allocations: 216.2 kB / 1.617 GB, free: 277.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/1.686, allocations: 348.9 kB / 1.617 GB, free: 276.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/1.688, allocations: 1.088 MB / 1.618 GB, free: 276.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/1.69, allocations: 1.303 MB / 1.62 GB, free: 276 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/1.694, allocations: 2.175 MB / 1.622 GB, free: 275.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.694, allocations: 1.25 kB / 1.622 GB, free: 275.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009707/1.704, allocations: 3.672 MB / 1.625 GB, free: 273.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/1.704, allocations: 72.66 kB / 1.626 GB, free: 273.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.704, allocations: 5.844 kB / 1.626 GB, free: 273.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004898/1.709, allocations: 1.915 MB / 1.627 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.71, allocations: 190.2 kB / 1.628 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008435/1.718, allocations: 6.649 MB / 1.634 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/1.721, allocations: 231 kB / 1.634 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/1.721, allocations: 54.28 kB / 1.634 GB, free: 268.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.001271/1.722, allocations: 0.6515 MB / 1.635 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/1.723, allocations: 262 kB / 1.635 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007725/1.731, allocations: 3.18 MB / 1.638 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.731, allocations: 12.66 kB / 1.638 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.731, allocations: 3.938 kB / 1.638 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.731, allocations: 4.312 kB / 1.638 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1.742, allocations: 5.565 MB / 1.644 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.742, allocations: 3.438 kB / 1.644 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/1.742, allocations: 105.5 kB / 1.644 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/1.746, allocations: 1.901 MB / 1.646 GB, free: 263.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/1.746, allocations: 35.98 kB / 1.646 GB, free: 263.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006876/1.753, allocations: 6.581 MB / 1.652 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.753, allocations: 4.031 kB / 1.652 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006752/1.76, allocations: 3.26 MB / 1.655 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009877/1.761, allocations: 0.5119 MB / 1.656 GB, free: 252.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/1.761, allocations: 31.98 kB / 1.656 GB, free: 252.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.763, allocations: 116.4 kB / 1.656 GB, free: 252.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.763, allocations: 84.19 kB / 1.656 GB, free: 252.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/1.763, allocations: 43.97 kB / 1.656 GB, free: 252.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002912/1.766, allocations: 2.911 MB / 1.659 GB, free: 249.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.766, allocations: 0 / 1.659 GB, free: 249.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001983/1.768, allocations: 0.7145 MB / 1.66 GB, free: 248.4 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.0008426/1.769, allocations: 0.4911 MB / 1.66 GB, free: 248 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004411/1.773, allocations: 2.535 MB / 1.663 GB, free: 245.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.773, allocations: 4 kB / 1.663 GB, free: 245.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/1.775, allocations: 1.327 MB / 1.664 GB, free: 244 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/1.781, allocations: 1.018 MB / 1.665 GB, free: 243 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007876/1.789, allocations: 4.724 MB / 1.67 GB, free: 238.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009241/1.789, allocations: 1.691 MB / 1.671 GB, free: 236.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00138/1.791, allocations: 373.6 kB / 1.672 GB, free: 236.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/1.791, allocations: 135.4 kB / 1.672 GB, free: 236 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/1.791, allocations: 0 / 1.672 GB, free: 236 MB / 1.295 GB Notification: Performance of Templates: time 0.06603/1.857, allocations: 51.24 MB / 1.722 GB, free: 185.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.4613718399778]