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.001663/0.001663, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002132/0.002132, allocations: 221.4 kB / 23.03 MB, free: 4.945 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.37/3.37, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",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.002049/0.002049, allocations: 69.22 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007263/0.3717, allocations: 4.228 MB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003269/0.375, allocations: 2.445 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3751, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.3753, allocations: 47.67 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.3757, allocations: 103.4 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3771, allocations: 0.5034 MB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.3774, allocations: 239.9 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3775, allocations: 9.75 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.3787, allocations: 494.9 kB / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.3789, allocations: 99.58 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.3789, allocations: 4 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.3801, allocations: 491.1 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.622e-05/0.3802, allocations: 35.83 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3803, allocations: 75.66 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008262/0.3811, allocations: 342.9 kB / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3811, allocations: 0 / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3811, allocations: 0 / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.3811, allocations: 0 / 1.336 GB, free: 8.309 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.0009856/0.3821, allocations: 445.4 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.3822, allocations: 12.03 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.806e-05/0.3822, allocations: 4.516 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.049e-05/0.3823, allocations: 50.73 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.3825, allocations: 32.83 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.3828, allocations: 150.3 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.3828, allocations: 12.7 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.3829, allocations: 16.12 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.3834, allocations: 462.6 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3835, allocations: 0 / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.3835, allocations: 8 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.3835, allocations: 7.984 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.3841, allocations: 447.9 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.3853, allocations: 0.883 MB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.3857, allocations: 149.3 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.3858, allocations: 48.89 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008008/0.3866, allocations: 447.9 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.3866, allocations: 42.56 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.3867, allocations: 3.938 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003519/0.387, allocations: 149.4 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.387, allocations: 59.34 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3872, allocations: 168.7 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3872, allocations: 33.7 kB / 1.339 GB, free: 4.453 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.3873, allocations: 140.1 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.3874, allocations: 55.52 kB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.3875, allocations: 53.66 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3876, allocations: 330.8 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.3877, allocations: 35.98 kB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3878, allocations: 133.7 kB / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.3881, allocations: 203.5 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3881, allocations: 0 / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003614/0.3885, allocations: 215.9 kB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3885, allocations: 8.094 kB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3885, allocations: 7.938 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3885, allocations: 7.938 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.3887, allocations: 63.91 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3887, allocations: 4 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3888, allocations: 31.72 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.3889, allocations: 12 kB / 1.34 GB, free: 3.059 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.0001214/0.389, allocations: 137.7 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.389, allocations: 15.91 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.3894, allocations: 158.9 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3894, allocations: 0 / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3894, allocations: 0 / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.3894, allocations: 3.984 kB / 1.341 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.3897, allocations: 184.6 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3897, allocations: 0 / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3898, allocations: 23.98 kB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3898, allocations: 4 kB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3898, allocations: 7.938 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3898, allocations: 0 / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3898, allocations: 0 / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3901, allocations: 227.4 kB / 1.341 GB, free: 2.238 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.3902, allocations: 31.81 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.3902, allocations: 7.875 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.3904, allocations: 19.98 kB / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.3904, allocations: 7.984 kB / 1.341 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.3905, allocations: 11.98 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.87e-05/0.3906, allocations: 120 kB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3906, allocations: 3.938 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000418/0.391, allocations: 75.88 kB / 1.341 GB, free: 1.965 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.000808/0.3918, allocations: 0.8436 MB / 1.342 GB, free: 1.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.392, allocations: 119.6 kB / 1.342 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.392, allocations: 4.938 kB / 1.342 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/0.3921, allocations: 35.92 kB / 1.342 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3926, allocations: 55.95 kB / 1.342 GB, free: 0.8867 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.3951, allocations: 2.047 MB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3952, allocations: 107.2 kB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.3953, allocations: 45.73 kB / 1.344 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.3954, allocations: 51.36 kB / 1.344 GB, free: 14.45 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3954, allocations: 4 kB / 1.344 GB, free: 14.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.4259, allocations: 5.715 MB / 1.35 GB, free: 8.949 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.37, allocations: 5.953 kB / 1.35 GB, free: 8.945 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.519403251004405]