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.00124/0.00124, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001546/0.001546, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.296/2.296, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.16e-05/4.413e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.8813/0.8814, allocations: 223.4 MB / 1.096 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02301/0.9044, allocations: 13.85 MB / 1.11 GB, free: 47.27 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.908, allocations: 98.94 kB / 1.11 GB, free: 47.27 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.912, allocations: 1.184 MB / 1.111 GB, free: 47.24 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.009991/0.922, allocations: 3.403 MB / 1.114 GB, free: 46.84 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.006823/0.9288, allocations: 2.232 MB / 1.117 GB, free: 46.71 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.009368/0.9382, allocations: 4.331 MB / 1.121 GB, free: 45.84 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/0.9416, allocations: 1.184 MB / 1.122 GB, free: 45.7 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.9517, allocations: 2.811 MB / 1.125 GB, free: 45.39 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003994/0.9557, allocations: 1.281 MB / 1.126 GB, free: 45.24 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0008078/0.9565, allocations: 183.8 kB / 1.126 GB, free: 45.24 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00709/0.9636, allocations: 2.311 MB / 1.128 GB, free: 45.06 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.002201/0.9658, allocations: 1.042 MB / 1.129 GB, free: 44.92 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.003454/0.9692, allocations: 0.9024 MB / 1.13 GB, free: 44.8 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.9812, allocations: 3.287 MB / 1.134 GB, free: 44.37 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.9812, allocations: 0.8438 kB / 1.134 GB, free: 44.37 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9812, allocations: 0 / 1.134 GB, free: 44.37 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001715/0.9814, allocations: 1.094 kB / 1.134 GB, free: 44.37 MB / 1.01 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.009534/0.9909, allocations: 3.302 MB / 1.137 GB, free: 42.62 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.991, allocations: 10.91 kB / 1.137 GB, free: 42.62 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.9948, allocations: 0.8292 MB / 1.138 GB, free: 42.44 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.9999, allocations: 1.911 MB / 1.139 GB, free: 41.86 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/1, allocations: 152.2 kB / 1.14 GB, free: 41.79 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/1, allocations: 119.3 kB / 1.14 GB, free: 41.79 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/1.003, allocations: 1.248 MB / 1.141 GB, free: 41.25 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.003, allocations: 3.094 kB / 1.141 GB, free: 41.25 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.912e-05/1.003, allocations: 49.03 kB / 1.141 GB, free: 41.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.108e-05/1.003, allocations: 41.8 kB / 1.141 GB, free: 41.21 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.005, allocations: 0.7174 MB / 1.142 GB, free: 41.04 MB / 1.01 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.01107/1.016, allocations: 5.47 MB / 1.147 GB, free: 37.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.017, allocations: 0.6128 MB / 1.148 GB, free: 37.58 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/1.018, allocations: 368.4 kB / 1.148 GB, free: 37.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005354/1.018, allocations: 159.2 kB / 1.148 GB, free: 37.43 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000844/1.019, allocations: 0.5789 MB / 1.149 GB, free: 37.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 4.408e-06/1.019, allocations: 0.875 kB / 1.149 GB, free: 37.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.01044/1.03, allocations: 3.068 MB / 1.152 GB, free: 36.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/1.03, allocations: 148.5 kB / 1.152 GB, free: 36.23 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/1.034, allocations: 2.373 MB / 1.154 GB, free: 35.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003697/1.034, allocations: 50.2 kB / 1.154 GB, free: 35.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008172/1.035, allocations: 1.168 MB / 1.155 GB, free: 34.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/1.036, allocations: 311.5 kB / 1.156 GB, free: 34.25 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/1.036, allocations: 255.2 kB / 1.156 GB, free: 34.12 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/1.036, allocations: 0.5247 MB / 1.156 GB, free: 33.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/1.036, allocations: 287.9 kB / 1.157 GB, free: 33.53 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/1.037, allocations: 0.9376 MB / 1.158 GB, free: 32.62 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/1.038, allocations: 1.01 MB / 1.159 GB, free: 31.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/1.038, allocations: 6.656 kB / 1.159 GB, free: 31.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003472/1.042, allocations: 1.617 MB / 1.16 GB, free: 31.28 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/1.042, allocations: 73.59 kB / 1.16 GB, free: 31.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.042, allocations: 8.906 kB / 1.16 GB, free: 31.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/1.044, allocations: 0.8989 MB / 1.161 GB, free: 31.03 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/1.045, allocations: 200.1 kB / 1.161 GB, free: 31.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/1.049, allocations: 5.898 MB / 1.167 GB, free: 25.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/1.051, allocations: 172.2 kB / 1.167 GB, free: 25.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/1.052, allocations: 58.98 kB / 1.167 GB, free: 25.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (102): * Single equations (assignments): 95 * 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.001066/1.053, allocations: 303 kB / 1.168 GB, free: 25.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000877/1.054, allocations: 275 kB / 1.168 GB, free: 25.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/1.057, allocations: 1.472 MB / 1.169 GB, free: 24.54 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/1.057, allocations: 5.594 kB / 1.169 GB, free: 24.54 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.057, allocations: 6.5 kB / 1.169 GB, free: 24.54 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.057, allocations: 5.719 kB / 1.169 GB, free: 24.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006878/1.063, allocations: 3.259 MB / 1.173 GB, free: 23.03 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.063, allocations: 2.375 kB / 1.173 GB, free: 23.03 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/1.064, allocations: 89.05 kB / 1.173 GB, free: 23.03 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/1.066, allocations: 0.8753 MB / 1.173 GB, free: 22.85 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.066, allocations: 33.08 kB / 1.174 GB, free: 22.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/1.07, allocations: 5.878 MB / 1.179 GB, free: 17.39 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/1.07, allocations: 6.312 kB / 1.179 GB, free: 17.39 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/1.073, allocations: 1.679 MB / 1.181 GB, free: 16.54 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.074, allocations: 423 kB / 1.181 GB, free: 16.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/1.075, allocations: 27.52 kB / 1.181 GB, free: 16.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000779/1.076, allocations: 79.64 kB / 1.181 GB, free: 16.26 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/1.076, allocations: 74.86 kB / 1.181 GB, free: 16.24 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/1.076, allocations: 50.92 kB / 1.182 GB, free: 16.23 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002101/1.078, allocations: 1.465 MB / 1.183 GB, free: 15.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/1.078, allocations: 0 / 1.183 GB, free: 15.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003132/1.081, allocations: 0.7572 MB / 1.184 GB, free: 15.68 MB / 1.01 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.00127/1.082, allocations: 0.5097 MB / 1.184 GB, free: 15.49 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00229/1.085, allocations: 1.391 MB / 1.186 GB, free: 14.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.085, allocations: 0 / 1.186 GB, free: 14.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.086, allocations: 0.9282 MB / 1.186 GB, free: 14.12 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/1.089, allocations: 0.8499 MB / 1.187 GB, free: 13.83 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/1.096, allocations: 3.934 MB / 1.191 GB, free: 11.76 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/1.097, allocations: 0.4973 MB / 1.192 GB, free: 11.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001725/1.099, allocations: 301.7 kB / 1.192 GB, free: 11.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/1.099, allocations: 131.4 kB / 1.192 GB, free: 11.51 MB / 1.01 GB Notification: Performance of SimCode: time 3.637e-06/1.099, allocations: 4 kB / 1.192 GB, free: 11.51 MB / 1.01 GB Notification: Performance of Templates: time 0.06435/1.163, allocations: 45.16 MB / 1.236 GB, free: 7.781 MB / 1.026 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.31134817097336]