Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001799/0.001799, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002506/0.002506, allocations: 218.6 kB / 22.25 MB, free: 5.121 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.326/3.326, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_12_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.002053/0.002053, allocations: 65.52 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3651, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3035/0.6686, allocations: 229.4 MB / 1.55 GB, free: 11.69 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02168/0.6903, allocations: 12.75 MB / 1.562 GB, free: 14.91 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003942/0.6942, allocations: 95.25 kB / 1.562 GB, free: 14.82 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003869/0.6981, allocations: 1.251 MB / 1.564 GB, free: 13.56 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009623/0.7077, allocations: 3.333 MB / 1.567 GB, free: 10.22 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005124/0.7128, allocations: 1.89 MB / 1.569 GB, free: 8.34 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.006767/0.7196, allocations: 4.214 MB / 1.573 GB, free: 4.117 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.7218, allocations: 1.129 MB / 1.574 GB, free: 2.949 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005149/0.7269, allocations: 2.201 MB / 1.576 GB, free: 0.7422 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002903/0.7298, allocations: 1.462 MB / 1.578 GB, free: 15.28 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0006201/0.7304, allocations: 184 kB / 1.578 GB, free: 15.1 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006832/0.7373, allocations: 2.869 MB / 1.581 GB, free: 12.22 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.7389, allocations: 1.008 MB / 1.582 GB, free: 11.21 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.7419, allocations: 1.442 MB / 1.583 GB, free: 9.762 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.7522, allocations: 4.834 MB / 1.588 GB, free: 4.91 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.7523, allocations: 0 / 1.588 GB, free: 4.91 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7523, allocations: 0 / 1.588 GB, free: 4.91 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001293/0.7524, allocations: 3.938 kB / 1.588 GB, free: 4.906 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.008694/0.7611, allocations: 3.401 MB / 1.591 GB, free: 1.441 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.7611, allocations: 8.031 kB / 1.591 GB, free: 1.434 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004017/0.7615, allocations: 173 kB / 1.591 GB, free: 1.254 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005162/0.7667, allocations: 0.8138 MB / 1.592 GB, free: 448 kB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009694/0.7764, allocations: 6.235 MB / 1.598 GB, free: 10.14 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.7766, allocations: 149.5 kB / 1.598 GB, free: 9.984 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.777, allocations: 108 kB / 1.598 GB, free: 9.879 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004499/0.7815, allocations: 2.046 MB / 1.6 GB, free: 7.762 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.7815, allocations: 7.938 kB / 1.6 GB, free: 7.754 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.7817, allocations: 44 kB / 1.6 GB, free: 7.711 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.7818, allocations: 42.08 kB / 1.6 GB, free: 7.668 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005096/0.7869, allocations: 2.561 MB / 1.603 GB, free: 5.098 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.7435/1.53, allocations: 9.464 MB / 1.612 GB, free: 277.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/1.535, allocations: 1.946 MB / 1.614 GB, free: 277.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/1.537, allocations: 0.8925 MB / 1.615 GB, free: 277 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/1.537, allocations: 171.3 kB / 1.615 GB, free: 277 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/1.539, allocations: 1.008 MB / 1.616 GB, free: 276.6 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 2.906e-06/1.539, allocations: 2.531 kB / 1.616 GB, free: 276.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.02508/1.564, allocations: 5.656 MB / 1.622 GB, free: 275.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/1.564, allocations: 147.3 kB / 1.622 GB, free: 275.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01374/1.578, allocations: 8.888 MB / 1.63 GB, free: 272.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003127/1.578, allocations: 48.92 kB / 1.63 GB, free: 272.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009636/1.579, allocations: 1.107 MB / 1.632 GB, free: 271.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/1.58, allocations: 322.5 kB / 1.632 GB, free: 271.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/1.58, allocations: 215.7 kB / 1.632 GB, free: 271 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/1.58, allocations: 344.8 kB / 1.632 GB, free: 270.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/1.583, allocations: 1.088 MB / 1.633 GB, free: 270.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/1.585, allocations: 1.306 MB / 1.635 GB, free: 269.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/1.588, allocations: 2.184 MB / 1.637 GB, free: 268.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.588, allocations: 0 / 1.637 GB, free: 268.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.007865/1.596, allocations: 3.695 MB / 1.64 GB, free: 267.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/1.596, allocations: 73.33 kB / 1.641 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.596, allocations: 7.969 kB / 1.641 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004195/1.601, allocations: 1.979 MB / 1.642 GB, free: 267.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/1.602, allocations: 188.9 kB / 1.643 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/1.609, allocations: 6.588 MB / 1.649 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.611, allocations: 250 kB / 1.649 GB, free: 261.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.611, allocations: 48.17 kB / 1.649 GB, free: 261.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.000957/1.612, allocations: 0.6586 MB / 1.65 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/1.613, allocations: 286.2 kB / 1.65 GB, free: 260.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/1.619, allocations: 3.206 MB / 1.653 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/1.619, allocations: 15.94 kB / 1.653 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.619, allocations: 0 / 1.653 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.619, allocations: 7.922 kB / 1.653 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.63, allocations: 5.857 MB / 1.659 GB, free: 251.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.63, allocations: 7.844 kB / 1.659 GB, free: 251.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/1.631, allocations: 103.6 kB / 1.659 GB, free: 251.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004194/1.635, allocations: 1.97 MB / 1.661 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/1.635, allocations: 31.97 kB / 1.661 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007914/1.643, allocations: 6.537 MB / 1.668 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.643, allocations: 4 kB / 1.668 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007548/1.651, allocations: 3.277 MB / 1.671 GB, free: 239.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.652, allocations: 0.5486 MB / 1.671 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008343/1.653, allocations: 24 kB / 1.671 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.656, allocations: 123.9 kB / 1.671 GB, free: 238.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/1.656, allocations: 84.45 kB / 1.672 GB, free: 238.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.656, allocations: 40.47 kB / 1.672 GB, free: 238.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006987/1.663, allocations: 6.831 MB / 1.678 GB, free: 232 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.663, allocations: 0 / 1.678 GB, free: 232 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003175/1.666, allocations: 0.7354 MB / 1.679 GB, free: 231.3 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.008377/1.674, allocations: 4.228 MB / 1.683 GB, free: 227 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004535/1.679, allocations: 2.542 MB / 1.686 GB, free: 224.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.679, allocations: 4 kB / 1.686 GB, free: 224.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/1.681, allocations: 1.337 MB / 1.687 GB, free: 223.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/1.687, allocations: 1.025 MB / 1.688 GB, free: 222.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05513/1.742, allocations: 41.49 MB / 1.728 GB, free: 180.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.743, allocations: 1.692 MB / 1.73 GB, free: 178.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001532/1.745, allocations: 423 kB / 1.731 GB, free: 178.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.746, allocations: 0.964 MB / 1.731 GB, free: 177.1 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/1.746, allocations: 0 / 1.731 GB, free: 177.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.876, allocations: 79.9 MB / 1.809 GB, free: 98.07 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.25/21.12, allocations: 17.97 kB / 1.809 GB, free: 98.06 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 28.46727684396319]