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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001588/0.001588, allocations: 214.6 kB / 22.25 MB, free: 5.258 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.762 MB / 206.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 3.361/3.361, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 66.5 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3774, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3196/0.6971, allocations: 199.8 MB / 1.559 GB, free: 5.457 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.7201, allocations: 11.84 MB / 1.57 GB, free: 9.586 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.723, allocations: 91.25 kB / 1.57 GB, free: 9.496 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.7269, allocations: 1.162 MB / 1.571 GB, free: 8.328 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.737, allocations: 3.305 MB / 1.575 GB, free: 5.012 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005808/0.7428, allocations: 1.842 MB / 1.576 GB, free: 3.184 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007927/0.7508, allocations: 4.2 MB / 1.58 GB, free: 14.96 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.7532, allocations: 1.117 MB / 1.582 GB, free: 13.81 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006192/0.7594, allocations: 2.217 MB / 1.584 GB, free: 11.59 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003681/0.7631, allocations: 1.374 MB / 1.585 GB, free: 10.21 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0006349/0.7637, allocations: 180 kB / 1.585 GB, free: 10.03 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006659/0.7704, allocations: 2.284 MB / 1.587 GB, free: 7.742 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.7718, allocations: 1.001 MB / 1.588 GB, free: 6.738 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.7738, allocations: 1.159 MB / 1.59 GB, free: 5.574 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.009647/0.7835, allocations: 4.78 MB / 1.594 GB, free: 0.7773 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7835, allocations: 4 kB / 1.594 GB, free: 0.7734 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7835, allocations: 0 / 1.594 GB, free: 0.7734 MB / 1.279 GB Notification: Performance of Transformations before backend: time 7.473e-05/0.7836, allocations: 0 / 1.594 GB, free: 0.7734 MB / 1.279 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.007752/0.7913, allocations: 3.401 MB / 1.598 GB, free: 13.31 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 7.814e-05/0.7914, allocations: 8.031 kB / 1.598 GB, free: 13.3 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002464/0.7916, allocations: 176.9 kB / 1.598 GB, free: 13.12 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.7965, allocations: 0.8177 MB / 1.599 GB, free: 12.3 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009544/0.806, allocations: 6.239 MB / 1.605 GB, free: 6 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.8062, allocations: 149.5 kB / 1.605 GB, free: 5.84 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.8064, allocations: 108 kB / 1.605 GB, free: 5.734 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.8106, allocations: 2.245 MB / 1.607 GB, free: 3.375 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.8107, allocations: 0 / 1.607 GB, free: 3.375 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.8108, allocations: 52 kB / 1.607 GB, free: 3.324 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/0.8109, allocations: 38.08 kB / 1.607 GB, free: 3.285 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005338/0.8162, allocations: 2.616 MB / 1.61 GB, free: 0.6484 MB / 1.295 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.7487/1.565, allocations: 8.151 MB / 1.618 GB, free: 244 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004836/1.57, allocations: 1.997 MB / 1.62 GB, free: 243.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/1.572, allocations: 0.9515 MB / 1.621 GB, free: 243.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007397/1.572, allocations: 167.9 kB / 1.621 GB, free: 243 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/1.574, allocations: 1.184 MB / 1.622 GB, free: 242.5 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.636e-06/1.574, allocations: 0 / 1.622 GB, free: 242.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02499/1.599, allocations: 5.781 MB / 1.628 GB, free: 241.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/1.6, allocations: 152.3 kB / 1.628 GB, free: 241 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/1.613, allocations: 8.895 MB / 1.636 GB, free: 237.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004429/1.613, allocations: 47.62 kB / 1.636 GB, free: 237.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/1.615, allocations: 1.115 MB / 1.637 GB, free: 236.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/1.615, allocations: 309.5 kB / 1.638 GB, free: 236.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005415/1.616, allocations: 215.9 kB / 1.638 GB, free: 236.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.616, allocations: 346 kB / 1.638 GB, free: 236.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/1.618, allocations: 1.153 MB / 1.639 GB, free: 235.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/1.621, allocations: 1.59 MB / 1.641 GB, free: 235 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00389/1.624, allocations: 2.182 MB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.625, allocations: 1.125 kB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009009/1.634, allocations: 3.773 MB / 1.647 GB, free: 232.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/1.634, allocations: 73.44 kB / 1.647 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.634, allocations: 11.98 kB / 1.647 GB, free: 232.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004861/1.638, allocations: 1.976 MB / 1.649 GB, free: 232.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.64, allocations: 181.5 kB / 1.649 GB, free: 232.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008202/1.648, allocations: 6.559 MB / 1.655 GB, free: 227.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/1.65, allocations: 240.3 kB / 1.656 GB, free: 227.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/1.651, allocations: 49.48 kB / 1.656 GB, free: 227.2 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.001232/1.652, allocations: 0.6658 MB / 1.656 GB, free: 226.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005743/1.652, allocations: 278.9 kB / 1.657 GB, free: 226.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/1.66, allocations: 3.28 MB / 1.66 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.66, allocations: 8 kB / 1.66 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.66, allocations: 1.094 kB / 1.66 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.66, allocations: 7.547 kB / 1.66 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/1.671, allocations: 5.534 MB / 1.665 GB, free: 218.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.671, allocations: 4.875 kB / 1.665 GB, free: 218.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/1.672, allocations: 100.2 kB / 1.665 GB, free: 218.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004079/1.676, allocations: 1.981 MB / 1.667 GB, free: 216.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/1.676, allocations: 32.83 kB / 1.667 GB, free: 216.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007431/1.684, allocations: 6.497 MB / 1.674 GB, free: 209.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.684, allocations: 7.938 kB / 1.674 GB, free: 209.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007141/1.691, allocations: 3.343 MB / 1.677 GB, free: 205.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.693, allocations: 0.5542 MB / 1.677 GB, free: 205.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008608/1.694, allocations: 24 kB / 1.677 GB, free: 205.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.695, allocations: 125.8 kB / 1.678 GB, free: 205.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.696, allocations: 82.47 kB / 1.678 GB, free: 205.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-05/1.696, allocations: 43.97 kB / 1.678 GB, free: 205.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005954/1.702, allocations: 6.837 MB / 1.684 GB, free: 198.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.71e-07/1.702, allocations: 0 / 1.684 GB, free: 198.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002902/1.705, allocations: 0.7265 MB / 1.685 GB, free: 197.6 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.008653/1.713, allocations: 4.28 MB / 1.689 GB, free: 193.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005142/1.718, allocations: 2.669 MB / 1.692 GB, free: 190.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.718, allocations: 3.938 kB / 1.692 GB, free: 190.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/1.721, allocations: 1.394 MB / 1.693 GB, free: 189.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005427/1.726, allocations: 1.03 MB / 1.694 GB, free: 188.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05979/1.786, allocations: 41.8 MB / 1.735 GB, free: 145.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.787, allocations: 1.111 MB / 1.736 GB, free: 144.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001646/1.789, allocations: 434.3 kB / 1.737 GB, free: 144.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.79, allocations: 0.96 MB / 1.737 GB, free: 143.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/1.79, allocations: 0 / 1.737 GB, free: 143.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.914, allocations: 80.67 MB / 1.816 GB, free: 63.88 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/18.8, allocations: 15.42 kB / 1.816 GB, free: 63.86 MB / 1.295 GB " [Timeout remaining time 281] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 840.0] 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/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: 26.17144926218316]