Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001873/0.001873, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002274/0.002274, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.162/3.162, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_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.002077/0.002077, allocations: 72.36 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3246, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004087/0.3287, allocations: 2.22 MB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.3314, allocations: 1.54 MB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.3316, allocations: 3.938 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.3322, allocations: 195.1 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.3327, allocations: 163.2 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.3329, allocations: 115.6 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.3333, allocations: 247 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3334, allocations: 28.39 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3336, allocations: 107.5 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.3338, allocations: 99.53 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.3338, allocations: 8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3339, allocations: 71.83 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3341, allocations: 87.62 kB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.3342, allocations: 138.9 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.3347, allocations: 378.2 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3347, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3347, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3347, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 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.00103/0.3357, allocations: 0.6917 MB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3357, allocations: 19.92 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.3358, allocations: 34.75 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.3359, allocations: 44.66 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.3363, allocations: 368.7 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3363, allocations: 12.12 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.3364, allocations: 4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3366, allocations: 73.66 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3366, allocations: 0 / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3366, allocations: 0 / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3366, allocations: 4 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3367, allocations: 35.97 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.3374, allocations: 468.5 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3376, allocations: 58.69 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/0.3376, allocations: 24.84 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3377, allocations: 112 / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.3378, allocations: 91.2 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3378, allocations: 0 / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003387/0.3382, allocations: 145.3 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3382, allocations: 59.41 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.3389, allocations: 0.5379 MB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.3389, allocations: 29.7 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3391, allocations: 224 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3391, allocations: 19.89 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.3392, allocations: 41.7 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3394, allocations: 358.8 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3395, allocations: 55.91 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3396, allocations: 76.58 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3398, allocations: 84.09 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3398, allocations: 8.031 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003357/0.3401, allocations: 197.2 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3401, allocations: 4 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3401, allocations: 0 / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.3402, allocations: 7.938 kB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3403, allocations: 27.92 kB / 1.33 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3403, allocations: 4 kB / 1.33 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3404, allocations: 15.88 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3404, allocations: 4.031 kB / 1.33 GB, free: 9.945 MB / 1.029 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.0001878/0.3406, allocations: 193.7 kB / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3407, allocations: 43.72 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.015e-05/0.3408, allocations: 47.91 kB / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3408, allocations: 3.938 kB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3408, allocations: 0 / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3408, allocations: 0 / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.3411, allocations: 297.5 kB / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3411, allocations: 0 / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.3411, allocations: 8 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3411, allocations: 0 / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3411, allocations: 256 / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3411, allocations: 11.94 kB / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3411, allocations: 3.984 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.3414, allocations: 156.7 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.3414, allocations: 116.8 kB / 1.331 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.3415, allocations: 0 / 1.331 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.3416, allocations: 19.92 kB / 1.331 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3416, allocations: 7.984 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3416, allocations: 4 kB / 1.331 GB, free: 8.949 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004123/0.3421, allocations: 370.8 kB / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0 / 1.331 GB, free: 8.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002765/0.3423, allocations: 47.92 kB / 1.331 GB, free: 8.543 MB / 1.029 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 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.002061/0.3444, allocations: 1.004 MB / 1.332 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3446, allocations: 91.89 kB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3446, allocations: 0 / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.3447, allocations: 23.98 kB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.3451, allocations: 63.98 kB / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.349, allocations: 3.102 MB / 1.335 GB, free: 4.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.3495, allocations: 0.8138 MB / 1.336 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.3496, allocations: 33.5 kB / 1.336 GB, free: 3.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3498, allocations: 119.4 kB / 1.336 GB, free: 3.324 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3498, allocations: 4 kB / 1.336 GB, free: 3.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.3805, allocations: 7.392 MB / 1.343 GB, free: 12.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.799/9.18, allocations: 5.875 kB / 1.343 GB, free: 12.06 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.107385222101584]