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.00187/0.00187, allocations: 81.5 kB / 19.44 MB, free: 340 kB / 13.93 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.001931/0.001931, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.635/1.635, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.567/3.567, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] 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 1.843e-06/1.843e-06, allocations: 0.9844 kB / 0.8774 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.595e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.9261/0.9261, allocations: 223.2 MB / 1.095 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02286/0.949, allocations: 13.85 MB / 1.109 GB, free: 47.3 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003971/0.953, allocations: 97.97 kB / 1.109 GB, free: 47.3 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003629/0.9566, allocations: 1.184 MB / 1.11 GB, free: 47.27 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00992/0.9665, allocations: 3.402 MB / 1.114 GB, free: 46.87 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.006712/0.9732, allocations: 2.231 MB / 1.116 GB, free: 46.74 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.008986/0.9822, allocations: 4.338 MB / 1.12 GB, free: 45.87 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.9848, allocations: 1.18 MB / 1.121 GB, free: 45.73 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008285/0.9931, allocations: 2.818 MB / 1.124 GB, free: 45.42 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/0.9974, allocations: 1.283 MB / 1.125 GB, free: 45.27 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0006523/0.998, allocations: 182.9 kB / 1.125 GB, free: 45.27 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00787/1.006, allocations: 2.314 MB / 1.128 GB, free: 45.09 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001982/1.008, allocations: 1.036 MB / 1.129 GB, free: 44.95 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00282/1.011, allocations: 0.9048 MB / 1.129 GB, free: 44.83 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01314/1.024, allocations: 4.54 MB / 1.134 GB, free: 44.39 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/1.024, allocations: 0.7031 kB / 1.134 GB, free: 44.39 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.625e-06/1.024, allocations: 0 / 1.134 GB, free: 44.39 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001265/1.024, allocations: 0.9688 kB / 1.134 GB, free: 44.39 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.01084/1.035, allocations: 3.477 MB / 1.137 GB, free: 42.65 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.937e-05/1.035, allocations: 11.3 kB / 1.137 GB, free: 42.65 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/1.04, allocations: 0.8238 MB / 1.138 GB, free: 42.46 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005352/1.045, allocations: 1.904 MB / 1.14 GB, free: 41.78 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/1.046, allocations: 155.2 kB / 1.14 GB, free: 41.67 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/1.046, allocations: 117.4 kB / 1.14 GB, free: 41.63 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003598/1.049, allocations: 1.636 MB / 1.142 GB, free: 40.77 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/1.049, allocations: 3.188 kB / 1.142 GB, free: 40.77 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/1.05, allocations: 44.84 kB / 1.142 GB, free: 40.74 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-05/1.05, allocations: 42.3 kB / 1.142 GB, free: 40.73 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/1.053, allocations: 1.322 MB / 1.143 GB, free: 40.3 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.01404/1.067, allocations: 6.668 MB / 1.15 GB, free: 36.4 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/1.07, allocations: 0.9668 MB / 1.151 GB, free: 36.05 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/1.071, allocations: 0.5662 MB / 1.151 GB, free: 35.83 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/1.072, allocations: 162.9 kB / 1.151 GB, free: 35.81 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/1.073, allocations: 0.808 MB / 1.152 GB, free: 35.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 3.416e-06/1.073, allocations: 0 / 1.152 GB, free: 35.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.01911/1.093, allocations: 3.793 MB / 1.156 GB, free: 34.35 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.093, allocations: 144.8 kB / 1.156 GB, free: 34.19 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004658/1.097, allocations: 2.83 MB / 1.159 GB, free: 33.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003829/1.098, allocations: 52.86 kB / 1.159 GB, free: 33.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.099, allocations: 1.283 MB / 1.16 GB, free: 32.12 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/1.099, allocations: 326.9 kB / 1.16 GB, free: 31.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004988/1.1, allocations: 293.1 kB / 1.161 GB, free: 31.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.1, allocations: 0.5533 MB / 1.161 GB, free: 31.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/1.101, allocations: 0.5243 MB / 1.162 GB, free: 31.03 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/1.103, allocations: 1.209 MB / 1.163 GB, free: 30.01 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/1.105, allocations: 1.483 MB / 1.164 GB, free: 29.06 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.105, allocations: 4 kB / 1.164 GB, free: 29.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006481/1.112, allocations: 2.216 MB / 1.166 GB, free: 28.23 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/1.112, allocations: 73.81 kB / 1.167 GB, free: 28.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/1.112, allocations: 9.938 kB / 1.167 GB, free: 28.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004051/1.116, allocations: 1.119 MB / 1.168 GB, free: 27.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.117, allocations: 201 kB / 1.168 GB, free: 27.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/1.124, allocations: 6.731 MB / 1.174 GB, free: 22.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/1.127, allocations: 182 kB / 1.175 GB, free: 21.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/1.127, allocations: 61.03 kB / 1.175 GB, free: 21.96 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.001421/1.129, allocations: 437.8 kB / 1.175 GB, free: 21.62 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.13, allocations: 273.6 kB / 1.175 GB, free: 21.47 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006112/1.136, allocations: 2.011 MB / 1.177 GB, free: 20.69 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.136, allocations: 8.938 kB / 1.177 GB, free: 20.69 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.136, allocations: 0 / 1.177 GB, free: 20.69 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.136, allocations: 8.219 kB / 1.177 GB, free: 20.69 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.147, allocations: 4.234 MB / 1.181 GB, free: 18.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.147, allocations: 0 / 1.181 GB, free: 18.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/1.148, allocations: 90.08 kB / 1.182 GB, free: 18.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003955/1.152, allocations: 1.106 MB / 1.183 GB, free: 18.44 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.152, allocations: 32.56 kB / 1.183 GB, free: 18.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006659/1.159, allocations: 6.681 MB / 1.189 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.159, allocations: 2.375 kB / 1.189 GB, free: 12.62 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006409/1.165, allocations: 2.238 MB / 1.191 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.167, allocations: 424.8 kB / 1.192 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009361/1.168, allocations: 27.56 kB / 1.192 GB, free: 11.26 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/1.17, allocations: 72.06 kB / 1.192 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/1.17, allocations: 79.11 kB / 1.192 GB, free: 11.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.17, allocations: 42.47 kB / 1.192 GB, free: 11.22 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003162/1.173, allocations: 1.696 MB / 1.194 GB, free: 10.68 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/1.173, allocations: 0 / 1.194 GB, free: 10.68 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003497/1.177, allocations: 0.753 MB / 1.194 GB, free: 10.54 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.001662/1.178, allocations: 0.517 MB / 1.195 GB, free: 10.34 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003936/1.182, allocations: 1.88 MB / 1.197 GB, free: 9.391 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.182, allocations: 0 / 1.197 GB, free: 9.391 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/1.184, allocations: 1.159 MB / 1.198 GB, free: 8.668 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005025/1.189, allocations: 0.8535 MB / 1.199 GB, free: 8.379 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008477/1.198, allocations: 4.147 MB / 1.203 GB, free: 6.195 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/1.199, allocations: 1.098 MB / 1.204 GB, free: 5.902 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001439/1.201, allocations: 299.6 kB / 1.204 GB, free: 5.82 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/1.201, allocations: 131.3 kB / 1.204 GB, free: 5.809 MB / 1.01 GB Notification: Performance of SimCode: time 8.81e-07/1.201, allocations: 0 / 1.204 GB, free: 5.809 MB / 1.01 GB Notification: Performance of Templates: time 0.08041/1.281, allocations: 44.61 MB / 1.248 GB, free: 11.05 MB / 1.042 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","/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: 12.03599680797197]