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.001896/0.001896, allocations: 84.73 kB / 19.44 MB, free: 356 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.002368/0.002368, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.372/3.372, allocations: 429.6 MB / 0.673 GB, free: 3.887 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 2.124e-06/2.124e-06, allocations: 0 / 0.8776 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.669e-05, allocations: 6.25 kB / 0.8776 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 1.085/1.085, allocations: 199.6 MB / 1.072 GB, free: 16.42 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02897/1.114, allocations: 12.77 MB / 1.085 GB, free: 16.12 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005133/1.12, allocations: 99.03 kB / 1.085 GB, free: 16.12 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004713/1.124, allocations: 1.176 MB / 1.086 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01358/1.138, allocations: 3.391 MB / 1.09 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0091/1.147, allocations: 2.241 MB / 1.092 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.009824/1.157, allocations: 4.329 MB / 1.096 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00327/1.16, allocations: 1.156 MB / 1.097 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/1.171, allocations: 2.826 MB / 1.1 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003749/1.174, allocations: 1.259 MB / 1.101 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0008557/1.175, allocations: 183.2 kB / 1.101 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006953/1.182, allocations: 2.311 MB / 1.103 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/1.184, allocations: 1.033 MB / 1.104 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.003063/1.187, allocations: 0.9036 MB / 1.105 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/1.198, allocations: 4.527 MB / 1.11 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.198, allocations: 0 / 1.11 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.312e-06/1.198, allocations: 0 / 1.11 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001706/1.199, allocations: 1.125 kB / 1.11 GB, free: 9.648 MB / 0.9323 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.009504/1.208, allocations: 3.133 MB / 1.113 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.208, allocations: 8.625 kB / 1.113 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005738/1.214, allocations: 0.9445 MB / 1.114 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006078/1.22, allocations: 2.603 MB / 1.116 GB, free: 6.215 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/1.22, allocations: 150.4 kB / 1.116 GB, free: 6.109 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005195/1.221, allocations: 114.9 kB / 1.117 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004646/1.225, allocations: 2.243 MB / 1.119 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/1.225, allocations: 0.6875 kB / 1.119 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/1.226, allocations: 43.94 kB / 1.119 GB, free: 5.035 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/1.226, allocations: 43.53 kB / 1.119 GB, free: 5.031 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004975/1.231, allocations: 2.616 MB / 1.121 GB, free: 4.184 MB / 0.9323 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/1.245, allocations: 6.721 MB / 1.128 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/1.249, allocations: 2.006 MB / 1.13 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/1.251, allocations: 0.9571 MB / 1.131 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008376/1.252, allocations: 170.7 kB / 1.131 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002321/1.254, allocations: 1.173 MB / 1.132 GB, free: 14.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=91): time 3.787e-06/1.254, allocations: 3.25 kB / 1.132 GB, free: 14.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=91): time 0.02544/1.279, allocations: 5.776 MB / 1.138 GB, free: 12.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/1.28, allocations: 151.2 kB / 1.138 GB, free: 11.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00886/1.289, allocations: 3.786 MB / 1.142 GB, free: 10.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003828/1.289, allocations: 48.34 kB / 1.142 GB, free: 9.996 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.29, allocations: 1.054 MB / 1.143 GB, free: 9.078 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007908/1.291, allocations: 313.5 kB / 1.143 GB, free: 8.816 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/1.292, allocations: 245.1 kB / 1.143 GB, free: 8.676 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003227/1.293, allocations: 355.8 kB / 1.144 GB, free: 8.332 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/1.295, allocations: 1.172 MB / 1.145 GB, free: 7.793 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/1.298, allocations: 1.722 MB / 1.146 GB, free: 6.578 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/1.303, allocations: 2.337 MB / 1.149 GB, free: 5.273 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/1.303, allocations: 5.219 kB / 1.149 GB, free: 5.273 MB / 0.948 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.0105/1.313, allocations: 3.897 MB / 1.153 GB, free: 1.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.313, allocations: 75.39 kB / 1.153 GB, free: 1.344 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/1.313, allocations: 8 kB / 1.153 GB, free: 1.336 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006457/1.32, allocations: 2.091 MB / 1.155 GB, free: 15.24 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.321, allocations: 208.6 kB / 1.155 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.332, allocations: 6.377 MB / 1.161 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/1.335, allocations: 223 kB / 1.161 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002966/1.335, allocations: 59.97 kB / 1.161 GB, free: 8.16 MB / 0.9636 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 (104): * Single equations (assignments): 97 * 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.001692/1.337, allocations: 0.6799 MB / 1.162 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.338, allocations: 270.5 kB / 1.162 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009188/1.347, allocations: 3.232 MB / 1.165 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/1.347, allocations: 11.98 kB / 1.165 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.347, allocations: 0 / 1.165 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.347, allocations: 3.984 kB / 1.165 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/1.362, allocations: 5.21 MB / 1.171 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.362, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006751/1.363, allocations: 102.6 kB / 1.171 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006085/1.369, allocations: 2.065 MB / 1.173 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/1.369, allocations: 31.98 kB / 1.173 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.379, allocations: 6.335 MB / 1.179 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.379, allocations: 0 / 1.179 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009508/1.389, allocations: 3.328 MB / 1.182 GB, free: 2.477 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002004/1.391, allocations: 434 kB / 1.183 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000868/1.392, allocations: 28 kB / 1.183 GB, free: 2.023 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.394, allocations: 107.9 kB / 1.183 GB, free: 1.918 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/1.394, allocations: 78.98 kB / 1.183 GB, free: 1.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.394, allocations: 43.97 kB / 1.183 GB, free: 1.797 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006169/1.401, allocations: 2.759 MB / 1.185 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/1.401, allocations: 0 / 1.185 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004158/1.405, allocations: 0.7526 MB / 1.186 GB, free: 14.27 MB / 0.9948 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.001857/1.407, allocations: 0.5192 MB / 1.187 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006352/1.413, allocations: 2.725 MB / 1.189 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.413, allocations: 0 / 1.189 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003105/1.416, allocations: 1.396 MB / 1.191 GB, free: 9.57 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/1.422, allocations: 0.8461 MB / 1.192 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.434, allocations: 4.873 MB / 1.196 GB, free: 3.773 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/1.436, allocations: 1.127 MB / 1.197 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001809/1.438, allocations: 339.9 kB / 1.198 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/1.438, allocations: 128.5 kB / 1.198 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of SimCode: time 1.403e-06/1.438, allocations: 0 / 1.198 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of Templates: time 0.09154/1.53, allocations: 44.64 MB / 1.241 GB, free: 6.543 MB / 1.042 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: 11.988070906954817]