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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 489.7 MB / 0.7761 GB, free: 2.547 MB / 0.6075 GB [Timeout remaining time 86] 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.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=523,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=523,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: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.91 kB / 1.127 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 172 MB / 1.295 GB, free: 38.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2793/1.358, allocations: 225.7 MB / 1.515 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02228/1.38, allocations: 12.71 MB / 1.528 GB, free: 3.891 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003475/1.384, allocations: 67.62 kB / 1.528 GB, free: 3.824 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004062/1.388, allocations: 1.228 MB / 1.529 GB, free: 2.59 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.009932/1.398, allocations: 3.286 MB / 1.532 GB, free: 15.29 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005651/1.403, allocations: 1.844 MB / 1.534 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.007594/1.411, allocations: 4.173 MB / 1.538 GB, free: 9.27 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/1.413, allocations: 1.183 MB / 1.539 GB, free: 8.055 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/1.419, allocations: 2.153 MB / 1.541 GB, free: 5.898 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/1.422, allocations: 1.466 MB / 1.543 GB, free: 4.43 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004526/1.422, allocations: 180 kB / 1.543 GB, free: 4.254 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006189/1.428, allocations: 2.787 MB / 1.546 GB, free: 1.461 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/1.43, allocations: 0.9852 MB / 1.547 GB, free: 484 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001977/1.432, allocations: 1.333 MB / 1.548 GB, free: 15.13 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.008712/1.44, allocations: 4.406 MB / 1.552 GB, free: 10.71 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/1.44, allocations: 0 / 1.552 GB, free: 10.71 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.255e-06/1.44, allocations: 0 / 1.552 GB, free: 10.71 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.833e-05/1.441, allocations: 0 / 1.552 GB, free: 10.71 MB / 1.232 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.006406/1.447, allocations: 3.172 MB / 1.555 GB, free: 7.457 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.447, allocations: 12.03 kB / 1.555 GB, free: 7.445 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/1.452, allocations: 0.7944 MB / 1.556 GB, free: 6.648 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/1.457, allocations: 2.535 MB / 1.559 GB, free: 4.043 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/1.457, allocations: 123.8 kB / 1.559 GB, free: 3.914 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/1.457, allocations: 104 kB / 1.559 GB, free: 3.812 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/1.461, allocations: 2.066 MB / 1.561 GB, free: 1.676 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/1.461, allocations: 0 / 1.561 GB, free: 1.676 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/1.461, allocations: 47.94 kB / 1.561 GB, free: 1.629 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.478e-05/1.461, allocations: 38.08 kB / 1.561 GB, free: 1.59 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/1.466, allocations: 2.565 MB / 1.563 GB, free: 15.02 MB / 1.248 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.01355/1.48, allocations: 8.146 MB / 1.571 GB, free: 6.559 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/1.484, allocations: 2.089 MB / 1.573 GB, free: 4.426 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/1.486, allocations: 0.8964 MB / 1.574 GB, free: 3.527 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/1.487, allocations: 1.053 MB / 1.575 GB, free: 2.254 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/1.489, allocations: 1.024 MB / 1.576 GB, free: 1.203 MB / 1.248 GB Notification: Performance of pre-optimization done (n=91): time 3.146e-06/1.489, allocations: 0 / 1.576 GB, free: 1.203 MB / 1.248 GB Notification: Performance of matching and sorting (n=91): time 0.02448/1.513, allocations: 5.932 MB / 1.582 GB, free: 11.16 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/1.514, allocations: 145.2 kB / 1.582 GB, free: 10.99 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006504/1.52, allocations: 3.973 MB / 1.586 GB, free: 7.004 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/1.52, allocations: 49.7 kB / 1.586 GB, free: 6.949 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.522, allocations: 1.02 MB / 1.587 GB, free: 5.922 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/1.522, allocations: 313.4 kB / 1.587 GB, free: 5.613 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004706/1.523, allocations: 214.5 kB / 1.588 GB, free: 5.398 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.523, allocations: 353.9 kB / 1.588 GB, free: 5.047 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/1.525, allocations: 1.084 MB / 1.589 GB, free: 3.961 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/1.527, allocations: 1.309 MB / 1.59 GB, free: 2.586 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/1.531, allocations: 2.178 MB / 1.592 GB, free: 328 kB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.531, allocations: 3.938 kB / 1.592 GB, free: 324 kB / 1.264 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009148/1.54, allocations: 3.665 MB / 1.596 GB, free: 12.62 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.541, allocations: 71.39 kB / 1.596 GB, free: 12.54 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.541, allocations: 4 kB / 1.596 GB, free: 12.53 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00502/1.546, allocations: 1.921 MB / 1.598 GB, free: 10.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.547, allocations: 183.8 kB / 1.598 GB, free: 10.42 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/1.557, allocations: 6.638 MB / 1.605 GB, free: 3.445 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.56, allocations: 234.9 kB / 1.605 GB, free: 3.215 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/1.56, allocations: 55.91 kB / 1.605 GB, free: 3.16 MB / 1.279 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.001246/1.561, allocations: 0.6608 MB / 1.606 GB, free: 2.477 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006404/1.562, allocations: 258.4 kB / 1.606 GB, free: 2.223 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008355/1.57, allocations: 3.168 MB / 1.609 GB, free: 15.01 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/1.57, allocations: 8 kB / 1.609 GB, free: 15 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.57, allocations: 0 / 1.609 GB, free: 15 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/1.57, allocations: 16.05 kB / 1.609 GB, free: 14.98 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/1.584, allocations: 5.564 MB / 1.614 GB, free: 9.309 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.584, allocations: 4 kB / 1.614 GB, free: 9.305 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/1.585, allocations: 95.88 kB / 1.614 GB, free: 9.211 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004918/1.59, allocations: 1.916 MB / 1.616 GB, free: 7.281 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/1.59, allocations: 31.98 kB / 1.616 GB, free: 7.25 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009843/1.6, allocations: 6.592 MB / 1.623 GB, free: 336 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.6, allocations: 4 kB / 1.623 GB, free: 332 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008867/1.609, allocations: 3.245 MB / 1.626 GB, free: 13 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/1.61, allocations: 0.5264 MB / 1.626 GB, free: 12.45 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007432/1.611, allocations: 31.92 kB / 1.626 GB, free: 12.42 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.613, allocations: 119.8 kB / 1.627 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/1.613, allocations: 72.5 kB / 1.627 GB, free: 12.23 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.614, allocations: 43.97 kB / 1.627 GB, free: 12.19 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.005311/1.619, allocations: 2.911 MB / 1.63 GB, free: 9.27 MB / 1.311 GB Notification: Performance of sort global known variables: time 3.61e-07/1.619, allocations: 0 / 1.63 GB, free: 9.27 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00309/1.622, allocations: 0.7178 MB / 1.63 GB, free: 8.551 MB / 1.311 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.001675/1.624, allocations: 0.5111 MB / 1.631 GB, free: 8.039 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.005986/1.63, allocations: 2.533 MB / 1.633 GB, free: 5.457 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.63, allocations: 0 / 1.633 GB, free: 5.457 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.003006/1.633, allocations: 1.328 MB / 1.635 GB, free: 4.082 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/1.639, allocations: 1.007 MB / 1.635 GB, free: 3.086 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.651, allocations: 4.58 MB / 1.64 GB, free: 14.43 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.653, allocations: 1.598 MB / 1.642 GB, free: 12.79 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007374/1.654, allocations: 139.4 kB / 1.642 GB, free: 12.66 MB / 1.326 GB Notification: Performance of SimCode: time 1.563e-06/1.654, allocations: 0 / 1.642 GB, free: 12.66 MB / 1.326 GB Notification: Performance of Templates: time 0.099/1.753, allocations: 71.51 MB / 1.711 GB, free: 5.359 MB / 1.389 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 400] 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/jenkins1/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] "" Variables in the reference: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 Variables in the result:mHot_flow_set.y,orc.cyc.TWorEva,orc.cyc.dTPinEva,orc.cyc.dTPinEva_set,orc.cyc.mWor_flow,orc.cyc.mWor_flow_max,orc.cyc.mWor_flow_min,orc.ena,orc.on_actual,souHot.T_in,time