Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.001868/0.001868, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002425/0.002425, allocations: 222.6 kB / 22.25 MB, free: 5.109 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.205/3.205, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.002468/0.002468, allocations: 75.83 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3286, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004202/0.3328, allocations: 2.144 MB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.3354, allocations: 1.436 MB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.3355, allocations: 3.938 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005852/0.3361, allocations: 183.6 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.3365, allocations: 183.1 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.3368, allocations: 111.6 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.3372, allocations: 239.1 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.3373, allocations: 28.58 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3375, allocations: 99.56 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3377, allocations: 99.42 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.3377, allocations: 12 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.3379, allocations: 59.97 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.338, allocations: 91.66 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.3381, allocations: 107.1 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.3386, allocations: 370.2 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3386, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3386, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.3386, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001063/0.3397, allocations: 0.6281 MB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3397, allocations: 8.031 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.3398, allocations: 38.73 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.3399, allocations: 52.61 kB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.3403, allocations: 294.9 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3403, allocations: 12.12 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3404, allocations: 4 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.3406, allocations: 103.4 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3406, allocations: 4 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3406, allocations: 3.984 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3406, allocations: 0 / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3407, allocations: 39.92 kB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.3414, allocations: 411.7 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.3416, allocations: 74.61 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.3417, allocations: 24.84 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3417, allocations: 0 / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.3419, allocations: 101.1 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3419, allocations: 4 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003794/0.3423, allocations: 153.2 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.3423, allocations: 51.41 kB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.343, allocations: 0.5496 MB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.343, allocations: 33.7 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3432, allocations: 220 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.3433, allocations: 23.88 kB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.3433, allocations: 41.7 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3435, allocations: 358.8 kB / 1.372 GB, free: 5.586 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3436, allocations: 47.98 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3438, allocations: 104.2 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.344, allocations: 100.2 kB / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.344, allocations: 0 / 1.372 GB, free: 5.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003529/0.3443, allocations: 205.3 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3444, allocations: 8 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3444, allocations: 0 / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3444, allocations: 3.938 kB / 1.372 GB, free: 5.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3445, allocations: 27.92 kB / 1.372 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3445, allocations: 0 / 1.372 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3447, allocations: 15.98 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3447, allocations: 4 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002059/0.3449, allocations: 178.9 kB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.345, allocations: 55.64 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.3453, allocations: 141.6 kB / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3453, allocations: 3.938 kB / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3453, allocations: 0 / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3453, allocations: 112 / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3456, allocations: 264.5 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3456, allocations: 256 / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.3456, allocations: 11.98 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3456, allocations: 0 / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3456, allocations: 4 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3456, allocations: 7.938 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3456, allocations: 0 / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.3459, allocations: 160.8 kB / 1.373 GB, free: 4.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.346, allocations: 47.66 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.346, allocations: 4 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/0.3461, allocations: 11.92 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.3462, allocations: 11.98 kB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3462, allocations: 4 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004281/0.3466, allocations: 370.8 kB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3466, allocations: 0 / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002832/0.3469, allocations: 47.94 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002213/0.3491, allocations: 1.034 MB / 1.374 GB, free: 2.805 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.3494, allocations: 91.84 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3494, allocations: 4 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.3495, allocations: 27.98 kB / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3499, allocations: 64.3 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.3541, allocations: 3.132 MB / 1.378 GB, free: 15.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.3544, allocations: 216.4 kB / 1.378 GB, free: 15.17 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.3545, allocations: 33.56 kB / 1.378 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3547, allocations: 123.4 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of SimCode: time 1.192e-06/0.3547, allocations: 0 / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.3928, allocations: 8.147 MB / 1.386 GB, free: 6.969 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.18, allocations: 5.875 kB / 1.386 GB, free: 6.965 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.920449962373823]