Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001765/0.001765, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002338/0.002338, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.984 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.348/3.348, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.003088/0.003088, allocations: 74.62 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4305, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.00707/0.4376, allocations: 4.543 MB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003505/0.4411, allocations: 2.726 MB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.4412, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.4415, allocations: 55.66 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.4419, allocations: 95.38 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.4436, allocations: 0.5052 MB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.444, allocations: 239.9 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.937e-05/0.444, allocations: 9.75 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.4454, allocations: 0.4931 MB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.4456, allocations: 87.66 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.4456, allocations: 11.94 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.447, allocations: 0.5459 MB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.4471, allocations: 35.83 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.4472, allocations: 83.64 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009688/0.4482, allocations: 358.9 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4482, allocations: 0 / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4482, allocations: 3.938 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.4482, allocations: 4 kB / 1.335 GB, free: 8.117 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009716/0.4492, allocations: 445.4 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4492, allocations: 11.97 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.4493, allocations: 50.73 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.4495, allocations: 20.84 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.4498, allocations: 158.2 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4499, allocations: 12.7 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.4499, allocations: 16.38 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.4503, allocations: 264.9 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4503, allocations: 0 / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.4504, allocations: 8 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.4504, allocations: 4 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.4509, allocations: 440 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.4523, allocations: 0.9912 MB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.4526, allocations: 150.6 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4527, allocations: 60.88 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008296/0.4535, allocations: 463.8 kB / 1.338 GB, free: 4.859 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.4535, allocations: 34.56 kB / 1.338 GB, free: 4.816 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.4535, allocations: 0 / 1.338 GB, free: 4.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003676/0.4539, allocations: 155.7 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.454, allocations: 55.34 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.4541, allocations: 167.3 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.4542, allocations: 25.7 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.4543, allocations: 148 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.4543, allocations: 59.52 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4544, allocations: 57.66 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4546, allocations: 318.8 kB / 1.339 GB, free: 3.793 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.4547, allocations: 39.97 kB / 1.339 GB, free: 3.754 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.4548, allocations: 141.7 kB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.4551, allocations: 191.4 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.4551, allocations: 4 kB / 1.34 GB, free: 3.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003834/0.4555, allocations: 213.6 kB / 1.34 GB, free: 3.113 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.4555, allocations: 12.06 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4556, allocations: 7.984 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4556, allocations: 11.88 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.4558, allocations: 47.92 kB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.4558, allocations: 11.98 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.4559, allocations: 27.78 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.4559, allocations: 12 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001256/0.4561, allocations: 133.7 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.4561, allocations: 15.91 kB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.4564, allocations: 165.5 kB / 1.34 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.4564, allocations: 11.92 kB / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4565, allocations: 0 / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4565, allocations: 3.938 kB / 1.34 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.4567, allocations: 184.6 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4567, allocations: 0 / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.4568, allocations: 27.98 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4568, allocations: 0 / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4568, allocations: 4 kB / 1.341 GB, free: 2.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4568, allocations: 3.938 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4568, allocations: 4 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.4571, allocations: 219.4 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.4572, allocations: 31.81 kB / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4572, allocations: 8 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4574, allocations: 15.92 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.4575, allocations: 15.98 kB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4575, allocations: 7.984 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001058/0.4576, allocations: 124 kB / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4576, allocations: 0 / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004114/0.458, allocations: 75.88 kB / 1.341 GB, free: 1.883 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008639/0.4589, allocations: 0.8448 MB / 1.342 GB, free: 1.012 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.4591, allocations: 114.7 kB / 1.342 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4591, allocations: 0 / 1.342 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.4592, allocations: 43.92 kB / 1.342 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.4597, allocations: 56.81 kB / 1.342 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.4622, allocations: 2.04 MB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4626, allocations: 0.7167 MB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.4628, allocations: 53.67 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.4629, allocations: 43.42 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.4629, allocations: 7.938 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.5003, allocations: 5.488 MB / 1.35 GB, free: 8.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.62, allocations: 6.172 kB / 1.35 GB, free: 8.426 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.640729347011074]