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.001911/0.001911, 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.00234/0.00234, allocations: 212.2 kB / 22.25 MB, free: 5.262 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 476 MB / 0.7699 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002143/0.002143, allocations: 70.59 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004256/0.325, allocations: 2.408 MB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002978/0.328, allocations: 1.63 MB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.3281, allocations: 0 / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009344/0.329, allocations: 318.8 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.3296, allocations: 274 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.3301, allocations: 207.5 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004973/0.3306, allocations: 414.6 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3308, allocations: 40.91 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.331, allocations: 167.3 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.3313, allocations: 175.2 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.3313, allocations: 20 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.3315, allocations: 87.88 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3317, allocations: 131.5 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.3319, allocations: 146.8 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.3325, allocations: 0.5184 MB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3325, allocations: 3.984 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3325, allocations: 4 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3325, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 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.001295/0.3338, allocations: 0.7814 MB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3338, allocations: 8.031 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.3339, allocations: 46.73 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.746e-05/0.334, allocations: 68.45 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.3346, allocations: 383.3 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3346, allocations: 15.94 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3347, allocations: 8 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.335, allocations: 151.3 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.335, allocations: 0 / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.335, allocations: 0 / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.335, allocations: 0 / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.3352, allocations: 87.02 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009498/0.3361, allocations: 0.5151 MB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.3365, allocations: 126.8 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3366, allocations: 44.83 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3366, allocations: 0 / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.3369, allocations: 145 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3369, allocations: 0 / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005728/0.3375, allocations: 249.3 kB / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3375, allocations: 55.41 kB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008633/0.3384, allocations: 0.7073 MB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3384, allocations: 33.7 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.3387, allocations: 264.5 kB / 1.292 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.3387, allocations: 47.61 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/0.3388, allocations: 57.69 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002505/0.339, allocations: 370.8 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3392, allocations: 79.91 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.3394, allocations: 164.8 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.3397, allocations: 142.6 kB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3397, allocations: 0 / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004952/0.3402, allocations: 285 kB / 1.294 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3402, allocations: 4 kB / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3403, allocations: 7.938 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3403, allocations: 0 / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3404, allocations: 35.98 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3404, allocations: 7.922 kB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3406, allocations: 27.94 kB / 1.294 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.3406, allocations: 8 kB / 1.294 GB, free: 0.8125 MB / 0.9825 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.000244/0.3409, allocations: 215.5 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.3409, allocations: 59.56 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.3414, allocations: 225.7 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3414, allocations: 3.984 kB / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3414, allocations: 0 / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3414, allocations: 4 kB / 1.294 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.3418, allocations: 328.5 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3418, allocations: 4 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.3419, allocations: 15.92 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3419, allocations: 4 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3419, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3419, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3419, allocations: 0 / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.3423, allocations: 244.6 kB / 1.295 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3424, allocations: 63.5 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.3424, allocations: 4 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3426, allocations: 11.98 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.3427, allocations: 27.91 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.3427, allocations: 7.984 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005999/0.3433, allocations: 479 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3433, allocations: 0 / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003222/0.3436, allocations: 75.88 kB / 1.295 GB, free: 15.01 MB / 0.9981 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.002393/0.346, allocations: 1.122 MB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.3464, allocations: 165.5 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3464, allocations: 0 / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.3466, allocations: 59.91 kB / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.3471, allocations: 97.02 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.3527, allocations: 4.01 MB / 1.301 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3531, allocations: 266.7 kB / 1.301 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.3532, allocations: 58.92 kB / 1.301 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.3535, allocations: 179.4 kB / 1.301 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/0.3535, allocations: 0 / 1.301 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04222/0.3957, allocations: 10.9 MB / 1.312 GB, free: 14.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.1, allocations: 4.062 kB / 1.312 GB, free: 14.34 MB / 1.014 GB " [Timeout remaining time 287] (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/jenkins1/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: 18.943752449937165]