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.001395/0.001395, allocations: 107.8 kB / 16.45 MB, free: 6.5 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.001481/0.001481, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.286/3.286, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.002077/0.002077, allocations: 65.53 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2764/0.654, allocations: 228.7 MB / 1.544 GB, free: 13.72 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.6748, allocations: 12.7 MB / 1.557 GB, free: 0.9844 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.6776, allocations: 95.19 kB / 1.557 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.6809, allocations: 1.232 MB / 1.558 GB, free: 15.65 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009309/0.6903, allocations: 3.277 MB / 1.561 GB, free: 12.36 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005326/0.6956, allocations: 1.845 MB / 1.563 GB, free: 10.53 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.008691/0.7043, allocations: 4.161 MB / 1.567 GB, free: 6.363 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.7073, allocations: 1.183 MB / 1.568 GB, free: 5.148 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007398/0.7147, allocations: 2.178 MB / 1.57 GB, free: 2.965 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004033/0.7187, allocations: 1.459 MB / 1.572 GB, free: 1.504 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0006796/0.7194, allocations: 180 kB / 1.572 GB, free: 1.328 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008631/0.728, allocations: 2.803 MB / 1.575 GB, free: 14.52 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00167/0.7297, allocations: 1.001 MB / 1.576 GB, free: 13.52 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002309/0.732, allocations: 1.45 MB / 1.577 GB, free: 12.06 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.007691/0.7397, allocations: 4.827 MB / 1.582 GB, free: 7.215 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7397, allocations: 0 / 1.582 GB, free: 7.215 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7397, allocations: 0 / 1.582 GB, free: 7.215 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.567e-05/0.7397, allocations: 0 / 1.582 GB, free: 7.215 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.005888/0.7456, allocations: 3.476 MB / 1.585 GB, free: 3.656 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7456, allocations: 15.98 kB / 1.585 GB, free: 3.641 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002225/0.7459, allocations: 169 kB / 1.585 GB, free: 3.465 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.7504, allocations: 0.8216 MB / 1.586 GB, free: 2.641 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008201/0.7586, allocations: 6.311 MB / 1.592 GB, free: 12.26 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.7587, allocations: 115.8 kB / 1.592 GB, free: 12.14 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.7589, allocations: 112 kB / 1.592 GB, free: 12.03 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003767/0.7627, allocations: 2.054 MB / 1.594 GB, free: 9.906 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.7627, allocations: 0 / 1.594 GB, free: 9.906 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.7628, allocations: 51.98 kB / 1.594 GB, free: 9.855 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/0.7629, allocations: 38.08 kB / 1.595 GB, free: 9.816 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004733/0.7676, allocations: 2.565 MB / 1.597 GB, free: 7.242 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.7449/1.513, allocations: 9.529 MB / 1.606 GB, free: 280.1 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006301/1.519, allocations: 2.087 MB / 1.608 GB, free: 279.5 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002804/1.522, allocations: 0.8945 MB / 1.609 GB, free: 279.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/1.523, allocations: 1.06 MB / 1.61 GB, free: 278.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002768/1.526, allocations: 1.026 MB / 1.611 GB, free: 277.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=91): time 3.818e-06/1.526, allocations: 0 / 1.611 GB, free: 277.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=91): time 0.03404/1.56, allocations: 5.951 MB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.56, allocations: 151.5 kB / 1.617 GB, free: 276.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02056/1.58, allocations: 8.88 MB / 1.626 GB, free: 273 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003905/1.581, allocations: 48.2 kB / 1.626 GB, free: 273 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001692/1.582, allocations: 1.116 MB / 1.627 GB, free: 272.2 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006815/1.583, allocations: 314.8 kB / 1.627 GB, free: 272 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007754/1.584, allocations: 216.7 kB / 1.628 GB, free: 271.9 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.584, allocations: 345 kB / 1.628 GB, free: 271.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002524/1.587, allocations: 1.089 MB / 1.629 GB, free: 271.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/1.589, allocations: 1.302 MB / 1.63 GB, free: 270.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004075/1.593, allocations: 2.182 MB / 1.632 GB, free: 269.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.593, allocations: 1.406 kB / 1.632 GB, free: 269.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00823/1.601, allocations: 3.685 MB / 1.636 GB, free: 268.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/1.602, allocations: 72.8 kB / 1.636 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.602, allocations: 4.312 kB / 1.636 GB, free: 268.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/1.606, allocations: 1.984 MB / 1.638 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009771/1.607, allocations: 189.3 kB / 1.638 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007316/1.614, allocations: 6.802 MB / 1.645 GB, free: 262.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/1.616, allocations: 241.5 kB / 1.645 GB, free: 262.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/1.616, allocations: 52.2 kB / 1.645 GB, free: 262.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.001/1.617, allocations: 0.6673 MB / 1.646 GB, free: 261.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004984/1.618, allocations: 278.2 kB / 1.646 GB, free: 261.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006925/1.625, allocations: 3.207 MB / 1.649 GB, free: 258.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.625, allocations: 12 kB / 1.649 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.625, allocations: 0 / 1.649 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.625, allocations: 7.922 kB / 1.649 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.637, allocations: 5.881 MB / 1.655 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/1.637, allocations: 0 / 1.655 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/1.637, allocations: 104.2 kB / 1.655 GB, free: 252.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003984/1.641, allocations: 1.958 MB / 1.657 GB, free: 250.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.641, allocations: 31.97 kB / 1.657 GB, free: 250.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007173/1.648, allocations: 6.749 MB / 1.664 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.648, allocations: 4 kB / 1.664 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00698/1.655, allocations: 3.266 MB / 1.667 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.657, allocations: 0.6311 MB / 1.667 GB, free: 239.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/1.657, allocations: 29.36 kB / 1.667 GB, free: 239.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/1.659, allocations: 123.9 kB / 1.667 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/1.659, allocations: 68.56 kB / 1.668 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/1.659, allocations: 51.91 kB / 1.668 GB, free: 239.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005512/1.665, allocations: 6.831 MB / 1.674 GB, free: 232.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.665, allocations: 0 / 1.674 GB, free: 232.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003437/1.668, allocations: 0.7296 MB / 1.675 GB, free: 231.5 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.008412/1.676, allocations: 4.208 MB / 1.679 GB, free: 227.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004447/1.681, allocations: 2.541 MB / 1.682 GB, free: 224.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.681, allocations: 0 / 1.682 GB, free: 224.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/1.683, allocations: 1.331 MB / 1.683 GB, free: 223.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004815/1.688, allocations: 1.029 MB / 1.684 GB, free: 222.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05222/1.74, allocations: 41.5 MB / 1.724 GB, free: 180.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.741, allocations: 1.684 MB / 1.726 GB, free: 178.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001504/1.743, allocations: 433.3 kB / 1.726 GB, free: 178.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.744, allocations: 0.9562 MB / 1.727 GB, free: 177.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.153e-06/1.744, allocations: 4 kB / 1.727 GB, free: 177.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/1.875, allocations: 78.9 MB / 1.804 GB, free: 99.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.39/20.26, allocations: 6.219 kB / 1.804 GB, free: 99.2 MB / 1.295 GB " [Timeout remaining time 280] (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: 27.781597250141203]