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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 193.3 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.153/3.153, allocations: 497.2 MB / 0.7845 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] 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=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 0.001913/0.001913, allocations: 71.02 kB / 1.139 GB, free: 33.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3399, allocations: 173.9 MB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2799/0.6198, allocations: 226.3 MB / 1.53 GB, free: 12.83 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02146/0.6413, allocations: 12.74 MB / 1.543 GB, free: 60 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.644, allocations: 67.73 kB / 1.543 GB, free: 15.99 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00353/0.6476, allocations: 1.224 MB / 1.544 GB, free: 14.76 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.009946/0.6575, allocations: 3.287 MB / 1.547 GB, free: 11.46 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00611/0.6636, allocations: 1.855 MB / 1.549 GB, free: 9.613 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.008274/0.6719, allocations: 4.165 MB / 1.553 GB, free: 5.438 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.6743, allocations: 1.117 MB / 1.554 GB, free: 4.285 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005952/0.6802, allocations: 2.168 MB / 1.556 GB, free: 2.113 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0033/0.6835, allocations: 1.457 MB / 1.558 GB, free: 0.6523 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005668/0.6841, allocations: 188 kB / 1.558 GB, free: 480 kB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006061/0.6901, allocations: 2.775 MB / 1.561 GB, free: 13.69 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.6915, allocations: 0.993 MB / 1.562 GB, free: 12.69 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.6936, allocations: 1.318 MB / 1.563 GB, free: 11.37 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008054/0.7017, allocations: 4.418 MB / 1.567 GB, free: 6.934 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7017, allocations: 4 kB / 1.567 GB, free: 6.93 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7017, allocations: 0 / 1.567 GB, free: 6.93 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.868e-05/0.7017, allocations: 3.938 kB / 1.567 GB, free: 6.926 MB / 1.264 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.006891/0.7086, allocations: 3.164 MB / 1.57 GB, free: 3.68 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.7087, allocations: 12.62 kB / 1.57 GB, free: 3.668 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.7136, allocations: 0.7944 MB / 1.571 GB, free: 2.871 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/0.7185, allocations: 2.543 MB / 1.574 GB, free: 264 kB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.7186, allocations: 119.8 kB / 1.574 GB, free: 136 kB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.7188, allocations: 112 kB / 1.574 GB, free: 24 kB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/0.7229, allocations: 2.046 MB / 1.576 GB, free: 13.9 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.723, allocations: 11.94 kB / 1.576 GB, free: 13.89 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.7231, allocations: 44 kB / 1.576 GB, free: 13.85 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.7232, allocations: 42.08 kB / 1.576 GB, free: 13.8 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005002/0.7282, allocations: 2.558 MB / 1.578 GB, free: 11.24 MB / 1.279 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.01472/0.7429, allocations: 8.161 MB / 1.586 GB, free: 2.766 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.7472, allocations: 2.087 MB / 1.588 GB, free: 0.6367 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.7492, allocations: 0.8946 MB / 1.589 GB, free: 15.74 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/0.7506, allocations: 1.068 MB / 1.59 GB, free: 14.45 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002007/0.7526, allocations: 1.009 MB / 1.591 GB, free: 13.42 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.146e-06/0.7526, allocations: 4 kB / 1.591 GB, free: 13.41 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02454/0.7771, allocations: 5.936 MB / 1.597 GB, free: 7.371 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.7773, allocations: 145.2 kB / 1.597 GB, free: 7.199 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006471/0.7837, allocations: 3.969 MB / 1.601 GB, free: 3.219 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000257/0.784, allocations: 45.7 kB / 1.601 GB, free: 3.168 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.7851, allocations: 1.024 MB / 1.602 GB, free: 2.137 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.7855, allocations: 321.2 kB / 1.602 GB, free: 1.82 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004381/0.7859, allocations: 214.5 kB / 1.603 GB, free: 1.605 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7861, allocations: 353.9 kB / 1.603 GB, free: 1.254 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.7882, allocations: 1.088 MB / 1.604 GB, free: 168 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7141/1.502, allocations: 1.295 MB / 1.605 GB, free: 293.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003945/1.506, allocations: 2.179 MB / 1.607 GB, free: 293.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/1.506, allocations: 3.156 kB / 1.607 GB, free: 293.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008014/1.514, allocations: 3.662 MB / 1.611 GB, free: 292.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/1.514, allocations: 72.48 kB / 1.611 GB, free: 292.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.514, allocations: 4.094 kB / 1.611 GB, free: 292.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005279/1.52, allocations: 1.918 MB / 1.613 GB, free: 291.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.521, allocations: 187.6 kB / 1.613 GB, free: 291.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00854/1.529, allocations: 6.647 MB / 1.62 GB, free: 286.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.532, allocations: 232 kB / 1.62 GB, free: 286.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/1.532, allocations: 50.41 kB / 1.62 GB, free: 286.8 MB / 1.295 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.0009641/1.533, allocations: 0.6544 MB / 1.621 GB, free: 286.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/1.533, allocations: 266.8 kB / 1.621 GB, free: 286.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007895/1.541, allocations: 3.174 MB / 1.624 GB, free: 285.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.541, allocations: 14.16 kB / 1.624 GB, free: 285.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.541, allocations: 0 / 1.624 GB, free: 285.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.541, allocations: 4.594 kB / 1.624 GB, free: 285.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.554, allocations: 5.572 MB / 1.629 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.554, allocations: 2.25 kB / 1.629 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/1.554, allocations: 100.6 kB / 1.629 GB, free: 283.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/1.56, allocations: 1.905 MB / 1.631 GB, free: 282.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003309/1.56, allocations: 39.58 kB / 1.631 GB, free: 282.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009022/1.569, allocations: 6.588 MB / 1.638 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.569, allocations: 11.81 kB / 1.638 GB, free: 277.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007325/1.576, allocations: 3.254 MB / 1.641 GB, free: 276.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.578, allocations: 0.5083 MB / 1.641 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004048/1.578, allocations: 26.69 kB / 1.641 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.58, allocations: 121 kB / 1.642 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/1.58, allocations: 74.03 kB / 1.642 GB, free: 276.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.826e-05/1.58, allocations: 49 kB / 1.642 GB, free: 276.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003301/1.583, allocations: 2.909 MB / 1.645 GB, free: 274.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.21e-07/1.583, allocations: 0.9375 kB / 1.645 GB, free: 274.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002029/1.585, allocations: 0.7189 MB / 1.645 GB, free: 274 MB / 1.295 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.00106/1.586, allocations: 0.4959 MB / 1.646 GB, free: 273.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004417/1.591, allocations: 2.539 MB / 1.648 GB, free: 271.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.591, allocations: 0 / 1.648 GB, free: 271.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/1.593, allocations: 1.326 MB / 1.65 GB, free: 270.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/1.598, allocations: 1.015 MB / 1.651 GB, free: 269.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00766/1.605, allocations: 4.752 MB / 1.655 GB, free: 264.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/1.606, allocations: 1.676 MB / 1.657 GB, free: 262.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001095/1.607, allocations: 377.6 kB / 1.657 GB, free: 262.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/1.608, allocations: 139.4 kB / 1.657 GB, free: 262.2 MB / 1.295 GB Notification: Performance of SimCode: time 8.52e-07/1.608, allocations: 0 / 1.657 GB, free: 262.2 MB / 1.295 GB Notification: Performance of Templates: time 0.06537/1.673, allocations: 51.82 MB / 1.708 GB, free: 211 MB / 1.295 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.716037152800709]