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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006119/0.006119, allocations: 99.64 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 193.6 kB / 16.67 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.89 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.318, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006001/0.324, allocations: 4.434 MB / 1.212 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.3269, allocations: 2.679 MB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.327, allocations: 4 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.3273, allocations: 51.66 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.3277, allocations: 91.38 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.3291, allocations: 496.4 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.3295, allocations: 235.9 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.3295, allocations: 17.56 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009932/0.3305, allocations: 428.2 kB / 1.216 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3307, allocations: 83.67 kB / 1.216 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.3308, allocations: 8 kB / 1.216 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3318, allocations: 499.3 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.3318, allocations: 39.89 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.3319, allocations: 71.67 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.3326, allocations: 351.1 kB / 1.217 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3326, allocations: 7.984 kB / 1.217 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3327, allocations: 0 / 1.217 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.3327, allocations: 0 / 1.217 GB, free: 0.6562 MB / 0.9669 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.0008162/0.3335, allocations: 0.4953 MB / 1.217 GB, free: 112 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3335, allocations: 8.625 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.3336, allocations: 54.67 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.3338, allocations: 20.84 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3341, allocations: 216.1 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3342, allocations: 12.7 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3342, allocations: 16.36 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.3345, allocations: 244.9 kB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3346, allocations: 7.938 kB / 1.218 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.3346, allocations: 12 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.3346, allocations: 12 kB / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.3351, allocations: 423.5 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.3363, allocations: 1.008 MB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3366, allocations: 163 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3367, allocations: 64.88 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/0.3383, allocations: 1.825 MB / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.3384, allocations: 34.55 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 2.325e-06/0.3384, allocations: 0 / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0004647/0.3388, allocations: 151.9 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3389, allocations: 55.34 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.3391, allocations: 171.2 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.3392, allocations: 33.7 kB / 1.221 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3393, allocations: 147.8 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.3394, allocations: 47.27 kB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3395, allocations: 57.7 kB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3396, allocations: 318.8 kB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.837e-05/0.3397, allocations: 35.98 kB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3398, allocations: 147.4 kB / 1.222 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.3401, allocations: 197.4 kB / 1.222 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3401, allocations: 4 kB / 1.222 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003364/0.3404, allocations: 211.7 kB / 1.223 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3405, allocations: 11.98 kB / 1.223 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3405, allocations: 4 kB / 1.223 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3405, allocations: 7.938 kB / 1.223 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.3407, allocations: 47.92 kB / 1.223 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.3407, allocations: 11.94 kB / 1.223 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.3408, allocations: 28.12 kB / 1.223 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3409, allocations: 19.98 kB / 1.223 GB, free: 9.637 MB / 0.9825 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.0001067/0.341, allocations: 133.7 kB / 1.223 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.341, allocations: 15.81 kB / 1.223 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.3413, allocations: 147 kB / 1.223 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.3413, allocations: 11.88 kB / 1.223 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3413, allocations: 0 / 1.223 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.3414, allocations: 3.984 kB / 1.223 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3416, allocations: 217.5 kB / 1.223 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3416, allocations: 0 / 1.223 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.14e-05/0.3417, allocations: 31.98 kB / 1.223 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3417, allocations: 3.984 kB / 1.223 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3417, allocations: 4 kB / 1.223 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3417, allocations: 3.938 kB / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3417, allocations: 0 / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.342, allocations: 222.4 kB / 1.223 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/0.3421, allocations: 112.8 kB / 1.224 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3421, allocations: 4 kB / 1.224 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3423, allocations: 27.92 kB / 1.224 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.3424, allocations: 7.984 kB / 1.224 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3424, allocations: 8 kB / 1.224 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.586e-05/0.3425, allocations: 124.9 kB / 1.224 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3425, allocations: 0 / 1.224 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004153/0.3429, allocations: 75.98 kB / 1.224 GB, free: 8.414 MB / 0.9825 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.000788/0.3437, allocations: 0.8254 MB / 1.225 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.344, allocations: 120.6 kB / 1.225 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.344, allocations: 0 / 1.225 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.3441, allocations: 48.05 kB / 1.225 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.3445, allocations: 55.83 kB / 1.225 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.3468, allocations: 2.049 MB / 1.227 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3471, allocations: 0.7168 MB / 1.227 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.3473, allocations: 41.8 kB / 1.227 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.3474, allocations: 43.42 kB / 1.228 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3474, allocations: 4 kB / 1.228 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.3708, allocations: 5.226 MB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.026, allocations: 23.92 kB / 1.233 GB, free: 15.18 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) 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) Reference file matches