Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001463/0.001463, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001636/0.001636, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.985/2.985, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] 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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_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.001959/0.001959, allocations: 63.08 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3009, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005964/0.3068, allocations: 4.228 MB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.3097, allocations: 2.446 MB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.3097, allocations: 0 / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.31, allocations: 47.69 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.3102, allocations: 103.3 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.3113, allocations: 0.5005 MB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.3116, allocations: 239.9 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.3116, allocations: 9.75 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.3126, allocations: 490.9 kB / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3128, allocations: 87.59 kB / 1.371 GB, free: 5.855 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3128, allocations: 11.94 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008692/0.3137, allocations: 483.1 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.3137, allocations: 31.91 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.3138, allocations: 75.7 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.3143, allocations: 346.9 kB / 1.372 GB, free: 4.926 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3143, allocations: 0 / 1.372 GB, free: 4.926 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3143, allocations: 4 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3143, allocations: 0 / 1.372 GB, free: 4.922 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007454/0.3151, allocations: 445.4 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3151, allocations: 16.02 kB / 1.373 GB, free: 4.438 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.567e-05/0.3152, allocations: 46.75 kB / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3153, allocations: 24.83 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.3156, allocations: 154.3 kB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3156, allocations: 12.69 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.3156, allocations: 20.36 kB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.3161, allocations: 470.5 kB / 1.373 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3161, allocations: 4 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3161, allocations: 4 kB / 1.373 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.3162, allocations: 8 kB / 1.373 GB, free: 3.605 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.3167, allocations: 423.4 kB / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.3178, allocations: 0.8675 MB / 1.375 GB, free: 2.262 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3182, allocations: 149.5 kB / 1.375 GB, free: 2.109 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.3183, allocations: 52.88 kB / 1.375 GB, free: 2.055 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007717/0.319, allocations: 455.8 kB / 1.375 GB, free: 1.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3191, allocations: 34.56 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.3191, allocations: 0 / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003495/0.3194, allocations: 145.5 kB / 1.375 GB, free: 1.398 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3195, allocations: 55.34 kB / 1.376 GB, free: 1.332 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.3196, allocations: 183.1 kB / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3197, allocations: 33.7 kB / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.3198, allocations: 128.2 kB / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.3198, allocations: 67.5 kB / 1.376 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.3199, allocations: 53.66 kB / 1.376 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3201, allocations: 326.8 kB / 1.376 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.3201, allocations: 31.98 kB / 1.376 GB, free: 496 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3203, allocations: 148.5 kB / 1.376 GB, free: 300 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3205, allocations: 193.5 kB / 1.377 GB, free: 56 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3205, allocations: 4 kB / 1.377 GB, free: 52 kB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003597/0.3209, allocations: 213.2 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3209, allocations: 8 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3209, allocations: 4 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.321, allocations: 7.938 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3211, allocations: 63.84 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3212, allocations: 8.469 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3213, allocations: 35.72 kB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.3213, allocations: 11.98 kB / 1.377 GB, free: 15.7 MB / 1.076 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.0001401/0.3214, allocations: 143.8 kB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.3215, allocations: 15.91 kB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.3218, allocations: 149.3 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.3218, allocations: 7.938 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3218, allocations: 0 / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3218, allocations: 3.984 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.3221, allocations: 176.7 kB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3221, allocations: 0 / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3222, allocations: 35.92 kB / 1.377 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3222, allocations: 0 / 1.377 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3222, allocations: 11.98 kB / 1.377 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3222, allocations: 7.922 kB / 1.378 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3222, allocations: 0 / 1.378 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.3225, allocations: 223.4 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.3226, allocations: 27.88 kB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3226, allocations: 0 / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3228, allocations: 23.92 kB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.3228, allocations: 11.97 kB / 1.378 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3228, allocations: 19.94 kB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3229, allocations: 120.9 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 0 / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000381/0.3233, allocations: 83.78 kB / 1.378 GB, free: 14.59 MB / 1.076 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.0007836/0.3241, allocations: 0.8237 MB / 1.379 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3243, allocations: 120 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3244, allocations: 0 / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.45e-05/0.3244, allocations: 35.92 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3248, allocations: 63.27 kB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3272, allocations: 2.058 MB / 1.381 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.85e-05/0.3273, allocations: 99.22 kB / 1.381 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.3274, allocations: 53.72 kB / 1.381 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.3275, allocations: 43.42 kB / 1.381 GB, free: 11.09 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.3275, allocations: 0 / 1.381 GB, free: 11.09 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.3613, allocations: 5.996 MB / 1.387 GB, free: 5.289 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.6, allocations: 11.89 kB / 1.387 GB, free: 5.281 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.69934278074652]