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.001991/0.001991, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.002672/0.002672, allocations: 160 kB / 22.46 MB, free: 5.375 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.528/1.528, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.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 2.962/2.962, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.765e-06/2.765e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.877e-05/5.154e-05, allocations: 9.031 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 1.105/1.105, allocations: 199.4 MB / 1.195 GB, free: 44.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02315/1.128, allocations: 11.8 MB / 1.206 GB, free: 42.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005169/1.133, allocations: 92.28 kB / 1.206 GB, free: 42.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00461/1.138, allocations: 1.176 MB / 1.208 GB, free: 41.73 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01302/1.151, allocations: 3.367 MB / 1.211 GB, free: 40.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006967/1.158, allocations: 1.905 MB / 1.213 GB, free: 39.27 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009268/1.167, allocations: 4.237 MB / 1.217 GB, free: 37.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/1.169, allocations: 1.084 MB / 1.218 GB, free: 36.67 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009896/1.179, allocations: 2.747 MB / 1.221 GB, free: 35.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004657/1.184, allocations: 1.24 MB / 1.222 GB, free: 35.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004839/1.184, allocations: 183.4 kB / 1.222 GB, free: 35.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008409/1.193, allocations: 2.312 MB / 1.224 GB, free: 34.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001736/1.195, allocations: 1.029 MB / 1.225 GB, free: 33.88 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002508/1.197, allocations: 0.8817 MB / 1.226 GB, free: 33.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/1.21, allocations: 4.454 MB / 1.231 GB, free: 32.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.21, allocations: 0 / 1.231 GB, free: 32.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/1.21, allocations: 0.9375 kB / 1.231 GB, free: 32.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.049e-05/1.21, allocations: 0 / 1.231 GB, free: 32.05 MB / 1.076 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.008086/1.218, allocations: 3.062 MB / 1.234 GB, free: 30.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/1.218, allocations: 9.75 kB / 1.234 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005365/1.224, allocations: 0.8047 MB / 1.234 GB, free: 29.9 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006103/1.23, allocations: 2.463 MB / 1.237 GB, free: 28.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/1.23, allocations: 142.1 kB / 1.237 GB, free: 28.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/1.23, allocations: 114.1 kB / 1.237 GB, free: 28.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004118/1.234, allocations: 2.246 MB / 1.239 GB, free: 27.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/1.234, allocations: 1.531 kB / 1.239 GB, free: 27.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/1.235, allocations: 47.3 kB / 1.239 GB, free: 27.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-05/1.235, allocations: 45.83 kB / 1.239 GB, free: 27.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005051/1.24, allocations: 2.611 MB / 1.242 GB, free: 26.6 MB / 1.076 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.01308/1.253, allocations: 6.624 MB / 1.248 GB, free: 23.28 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/1.257, allocations: 2.005 MB / 1.25 GB, free: 22.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/1.259, allocations: 0.9447 MB / 1.251 GB, free: 22.28 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/1.259, allocations: 176.1 kB / 1.251 GB, free: 22.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002006/1.261, allocations: 1.173 MB / 1.252 GB, free: 21.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=91): time 3.346e-06/1.261, allocations: 0 / 1.252 GB, free: 21.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=91): time 0.02391/1.285, allocations: 5.735 MB / 1.258 GB, free: 20.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.285, allocations: 150.2 kB / 1.258 GB, free: 20.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005869/1.291, allocations: 3.704 MB / 1.262 GB, free: 18.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/1.291, allocations: 46.7 kB / 1.262 GB, free: 18.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007771/1.292, allocations: 1.033 MB / 1.263 GB, free: 17.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/1.293, allocations: 308.1 kB / 1.263 GB, free: 17.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/1.293, allocations: 214.2 kB / 1.263 GB, free: 17.51 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.09e-05/1.293, allocations: 346.4 kB / 1.264 GB, free: 17.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.295, allocations: 1.156 MB / 1.265 GB, free: 16.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/1.297, allocations: 1.591 MB / 1.266 GB, free: 15.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/1.3, allocations: 2.186 MB / 1.269 GB, free: 14.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/1.3, allocations: 3.281 kB / 1.269 GB, free: 14.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.007911/1.308, allocations: 3.722 MB / 1.272 GB, free: 13.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/1.308, allocations: 72.98 kB / 1.272 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.308, allocations: 5.438 kB / 1.272 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/1.313, allocations: 1.923 MB / 1.274 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009514/1.314, allocations: 184 kB / 1.274 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/1.321, allocations: 6.36 MB / 1.28 GB, free: 8.531 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/1.324, allocations: 195.3 kB / 1.281 GB, free: 8.461 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/1.324, allocations: 57.62 kB / 1.281 GB, free: 8.449 MB / 1.076 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.001331/1.326, allocations: 0.6461 MB / 1.281 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006268/1.326, allocations: 235.7 kB / 1.282 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007579/1.334, allocations: 3.234 MB / 1.285 GB, free: 6.816 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/1.334, allocations: 8.875 kB / 1.285 GB, free: 6.816 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.334, allocations: 4.938 kB / 1.285 GB, free: 6.812 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.334, allocations: 14.03 kB / 1.285 GB, free: 6.805 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/1.347, allocations: 5.166 MB / 1.29 GB, free: 4.777 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.347, allocations: 1.688 kB / 1.29 GB, free: 4.777 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/1.348, allocations: 103.4 kB / 1.29 GB, free: 4.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004558/1.352, allocations: 1.918 MB / 1.292 GB, free: 4.254 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.352, allocations: 35.84 kB / 1.292 GB, free: 4.238 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00826/1.361, allocations: 6.292 MB / 1.298 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.361, allocations: 3.531 kB / 1.298 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009516/1.37, allocations: 3.295 MB / 1.301 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/1.372, allocations: 426 kB / 1.302 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007099/1.373, allocations: 27.94 kB / 1.302 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.375, allocations: 118.3 kB / 1.302 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/1.375, allocations: 75.16 kB / 1.302 GB, free: 11.88 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.375, allocations: 47.95 kB / 1.302 GB, free: 11.84 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004662/1.38, allocations: 2.709 MB / 1.305 GB, free: 9.113 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.81e-07/1.38, allocations: 0 / 1.305 GB, free: 9.113 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003518/1.383, allocations: 0.7409 MB / 1.305 GB, free: 8.371 MB / 1.092 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.001524/1.385, allocations: 0.5149 MB / 1.306 GB, free: 7.848 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00601/1.391, allocations: 2.657 MB / 1.308 GB, free: 5.141 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.391, allocations: 4 kB / 1.308 GB, free: 5.137 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/1.394, allocations: 1.405 MB / 1.31 GB, free: 3.688 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005131/1.399, allocations: 0.784 MB / 1.31 GB, free: 2.914 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.41, allocations: 4.71 MB / 1.315 GB, free: 14.13 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/1.412, allocations: 1.102 MB / 1.316 GB, free: 12.99 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00157/1.413, allocations: 333.8 kB / 1.316 GB, free: 12.66 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/1.414, allocations: 120.5 kB / 1.317 GB, free: 12.55 MB / 1.107 GB Notification: Performance of SimCode: time 1.192e-06/1.414, allocations: 0 / 1.317 GB, free: 12.55 MB / 1.107 GB Notification: Performance of Templates: time 0.08769/1.501, allocations: 43.78 MB / 1.359 GB, free: 1.645 MB / 1.139 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: 12.118578102439642]