Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.0008055/0.0008055, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 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.0009584/0.0009584, allocations: 169.9 kB / 22.46 MB, free: 2.094 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 0.8897/0.8897, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.983e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002895/0.002915, allocations: 2.403 MB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.004864, allocations: 1.63 MB / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.00501, allocations: 7.938 kB / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007682/0.005778, allocations: 321 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.00621, allocations: 274.7 kB / 0.955 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.006573, allocations: 211.3 kB / 0.9552 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.006932, allocations: 418.5 kB / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.007064, allocations: 44.89 kB / 0.9557 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.007287, allocations: 215.4 kB / 0.9559 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.007443, allocations: 151.6 kB / 0.956 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.007474, allocations: 20 kB / 0.956 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.007621, allocations: 79.89 kB / 0.9561 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.007735, allocations: 139.5 kB / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.554e-05/0.007821, allocations: 99.58 kB / 0.9563 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.00826, allocations: 0.4982 MB / 0.9568 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.008263, allocations: 3.938 kB / 0.9568 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.213e-06/0.008264, allocations: 0 / 0.9568 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.008271, allocations: 0 / 0.9568 GB, free: 12.95 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001169/0.00944, allocations: 0.7968 MB / 0.9576 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.009485, allocations: 12.03 kB / 0.9576 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.00952, allocations: 34.75 kB / 0.9577 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.009594, allocations: 64.56 kB / 0.9577 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.01005, allocations: 374.7 kB / 0.9581 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.01006, allocations: 12.56 kB / 0.9581 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.01008, allocations: 12.12 kB / 0.9581 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.0103, allocations: 153.1 kB / 0.9582 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.01031, allocations: 0 / 0.9582 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.01032, allocations: 4 kB / 0.9583 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01033, allocations: 4 kB / 0.9583 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.01045, allocations: 71.89 kB / 0.9583 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.0111, allocations: 0.5231 MB / 0.9588 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.01132, allocations: 130.6 kB / 0.959 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.01138, allocations: 44.83 kB / 0.959 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.0114, allocations: 4 kB / 0.959 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.01157, allocations: 145 kB / 0.9591 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 2.415e-06/0.01158, allocations: 0 / 0.9591 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003584/0.01194, allocations: 244.1 kB / 0.9594 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.01197, allocations: 55.39 kB / 0.9594 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.0125, allocations: 0.715 MB / 0.9601 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01252, allocations: 29.7 kB / 0.9602 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.01268, allocations: 276.5 kB / 0.9604 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.01271, allocations: 35.73 kB / 0.9605 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.01277, allocations: 57.66 kB / 0.9605 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.01289, allocations: 370.8 kB / 0.9609 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.01298, allocations: 71.97 kB / 0.9609 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.01312, allocations: 181.4 kB / 0.9611 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.0133, allocations: 141.3 kB / 0.9612 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.0133, allocations: 0 / 0.9612 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000287/0.01359, allocations: 277.1 kB / 0.9615 GB, free: 7.918 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.01361, allocations: 8 kB / 0.9615 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.01362, allocations: 4 kB / 0.9615 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01363, allocations: 3.938 kB / 0.9615 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01374, allocations: 40.02 kB / 0.9616 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01374, allocations: 4 kB / 0.9616 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.01384, allocations: 27.81 kB / 0.9616 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.01386, allocations: 8 kB / 0.9616 GB, free: 7.824 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.01402, allocations: 211.8 kB / 0.9618 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/0.01406, allocations: 55.62 kB / 0.9618 GB, free: 7.555 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.01434, allocations: 229.4 kB / 0.9621 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01434, allocations: 11.88 kB / 0.9621 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01435, allocations: 4 kB / 0.9621 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01435, allocations: 0 / 0.9621 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.01459, allocations: 324.5 kB / 0.9624 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01459, allocations: 4 kB / 0.9624 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.01462, allocations: 8 kB / 0.9624 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01462, allocations: 0 / 0.9624 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.01463, allocations: 11.98 kB / 0.9624 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01464, allocations: 3.938 kB / 0.9624 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01464, allocations: 0 / 0.9624 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.01486, allocations: 240.5 kB / 0.9626 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.01491, allocations: 59.61 kB / 0.9627 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.01494, allocations: 8 kB / 0.9627 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.015, allocations: 11.92 kB / 0.9627 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.01505, allocations: 19.97 kB / 0.9627 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.01506, allocations: 4 kB / 0.9627 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000351/0.01541, allocations: 487 kB / 0.9632 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.21e-07/0.01541, allocations: 0 / 0.9632 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002255/0.01564, allocations: 63.94 kB / 0.9633 GB, free: 6.035 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/0.01702, allocations: 1.14 MB / 0.9644 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.01727, allocations: 155.8 kB / 0.9645 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01727, allocations: 0 / 0.9645 GB, free: 4.895 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.01735, allocations: 67.7 kB / 0.9646 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.01767, allocations: 98.69 kB / 0.9647 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.02099, allocations: 3.99 MB / 0.9686 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.02116, allocations: 274.7 kB / 0.9689 GB, free: 364 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.02128, allocations: 46.95 kB / 0.9689 GB, free: 320 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.02144, allocations: 180.4 kB / 0.9691 GB, free: 140 kB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.02144, allocations: 0 / 0.9691 GB, free: 140 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.04829, allocations: 11.05 MB / 0.9799 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.444, allocations: 4 kB / 0.9799 GB, free: 5.227 MB / 0.9323 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.403999716043472]