Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 110.1 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437.1 MB / 0.7171 GB, free: 4.047 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001975, allocations: 67.91 kB / 1.027 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8735/0.8755, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003258/0.8788, allocations: 2.458 MB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.8808, allocations: 1.576 MB / 1.179 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.881, allocations: 6.75 kB / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.8819, allocations: 320.8 kB / 1.179 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.8823, allocations: 211.7 kB / 1.179 GB, free: 14.44 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.8829, allocations: 274.4 kB / 1.179 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.8833, allocations: 390.2 kB / 1.18 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.8834, allocations: 71.2 kB / 1.18 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.8836, allocations: 162.3 kB / 1.18 GB, free: 14.01 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.8838, allocations: 163.9 kB / 1.18 GB, free: 13.94 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.8839, allocations: 18.25 kB / 1.18 GB, free: 13.94 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.8841, allocations: 80.62 kB / 1.18 GB, free: 13.92 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.8842, allocations: 126.4 kB / 1.18 GB, free: 13.87 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.8843, allocations: 190.9 kB / 1.181 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.8849, allocations: 0.4981 MB / 1.181 GB, free: 13.51 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8849, allocations: 0 / 1.181 GB, free: 13.51 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8849, allocations: 1.375 kB / 1.181 GB, free: 13.51 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.535e-06/0.8849, allocations: 4 kB / 1.181 GB, free: 13.51 MB / 0.92 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.0009951/0.8859, allocations: 0.8484 MB / 1.182 GB, free: 12.8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.886, allocations: 9.438 kB / 1.182 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.886, allocations: 41.28 kB / 1.182 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.8861, allocations: 64.39 kB / 1.182 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.8865, allocations: 446.1 kB / 1.182 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.8866, allocations: 13.61 kB / 1.182 GB, free: 12.37 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.8866, allocations: 12.12 kB / 1.182 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.8869, allocations: 137.8 kB / 1.183 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8869, allocations: 0 / 1.183 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.8869, allocations: 7.109 kB / 1.183 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.8869, allocations: 5.891 kB / 1.183 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.8871, allocations: 65.27 kB / 1.183 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.8879, allocations: 0.5781 MB / 1.183 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.8882, allocations: 125.9 kB / 1.183 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.8883, allocations: 49.36 kB / 1.183 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.8883, allocations: 6.141 kB / 1.183 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.8885, allocations: 113.1 kB / 1.183 GB, free: 11.7 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.8886, allocations: 0 / 1.183 GB, free: 11.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004825/0.889, allocations: 236.1 kB / 1.184 GB, free: 11.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.8891, allocations: 82.88 kB / 1.184 GB, free: 11.49 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/0.8898, allocations: 0.6878 MB / 1.184 GB, free: 11.21 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.8898, allocations: 33.11 kB / 1.185 GB, free: 11.17 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.89, allocations: 266.1 kB / 1.185 GB, free: 10.96 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.89, allocations: 37.3 kB / 1.185 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.8901, allocations: 55.17 kB / 1.185 GB, free: 10.9 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.8902, allocations: 370 kB / 1.185 GB, free: 10.56 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.8904, allocations: 72 kB / 1.185 GB, free: 10.54 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.8905, allocations: 133.6 kB / 1.185 GB, free: 10.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.8908, allocations: 139.6 kB / 1.186 GB, free: 10.38 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8908, allocations: 0 / 1.186 GB, free: 10.38 MB / 0.92 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004163/0.8912, allocations: 278.2 kB / 1.186 GB, free: 10.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8912, allocations: 5.625 kB / 1.186 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8912, allocations: 0.7031 kB / 1.186 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.8913, allocations: 2.938 kB / 1.186 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.8914, allocations: 34.92 kB / 1.186 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8914, allocations: 5.781 kB / 1.186 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.8916, allocations: 25.53 kB / 1.186 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.8916, allocations: 7.297 kB / 1.186 GB, free: 10.23 MB / 0.92 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.0001825/0.8918, allocations: 215.1 kB / 1.186 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.8919, allocations: 61.02 kB / 1.186 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.79e-05/0.892, allocations: 58.75 kB / 1.186 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.892, allocations: 1.281 kB / 1.186 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.892, allocations: 0.75 kB / 1.186 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.892, allocations: 0.6562 kB / 1.186 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.8923, allocations: 370.6 kB / 1.187 GB, free: 9.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8923, allocations: 4.5 kB / 1.187 GB, free: 9.746 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.8924, allocations: 7.844 kB / 1.187 GB, free: 9.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8924, allocations: 1.031 kB / 1.187 GB, free: 9.746 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.8924, allocations: 10.34 kB / 1.187 GB, free: 9.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8924, allocations: 1.984 kB / 1.187 GB, free: 9.738 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8924, allocations: 3.984 kB / 1.187 GB, free: 9.734 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.8927, allocations: 223.3 kB / 1.187 GB, free: 9.602 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.8928, allocations: 130.1 kB / 1.187 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.8929, allocations: 6.953 kB / 1.187 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.893, allocations: 14.81 kB / 1.187 GB, free: 9.465 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.893, allocations: 20.62 kB / 1.187 GB, free: 9.457 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.8931, allocations: 10.16 kB / 1.187 GB, free: 9.453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000467/0.8935, allocations: 469.9 kB / 1.187 GB, free: 9.266 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.91e-07/0.8936, allocations: 0 / 1.187 GB, free: 9.266 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00032/0.8939, allocations: 78.23 kB / 1.187 GB, free: 9.242 MB / 0.92 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001884/0.8958, allocations: 1.084 MB / 1.189 GB, free: 8.477 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.8961, allocations: 152 kB / 1.189 GB, free: 8.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8961, allocations: 0 / 1.189 GB, free: 8.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.8963, allocations: 59.25 kB / 1.189 GB, free: 8.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.8968, allocations: 94.03 kB / 1.189 GB, free: 8.371 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.901, allocations: 3.901 MB / 1.193 GB, free: 6.266 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.9014, allocations: 0.8645 MB / 1.193 GB, free: 5.547 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.9016, allocations: 46.11 kB / 1.194 GB, free: 5.539 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.9017, allocations: 167 kB / 1.194 GB, free: 5.41 MB / 0.92 GB Notification: Performance of SimCode: time 6.12e-07/0.9017, allocations: 4 kB / 1.194 GB, free: 5.406 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.9361, allocations: 9.839 MB / 1.203 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.628, allocations: 5.375 kB / 1.203 GB, free: 0.6758 MB / 0.92 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.547164686024189]