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.00806/0.00806, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001271/0.001271, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3271, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006346/0.3335, allocations: 4.443 MB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.3365, allocations: 2.679 MB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3366, allocations: 4 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.337, allocations: 51.67 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.3374, allocations: 91.36 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3387, allocations: 0.4901 MB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.3391, allocations: 239.9 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.934e-05/0.3391, allocations: 17.56 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.3402, allocations: 421 kB / 1.216 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3403, allocations: 91.59 kB / 1.216 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.3404, allocations: 8 kB / 1.216 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.3414, allocations: 495.4 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.3415, allocations: 31.91 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.3416, allocations: 79.64 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007821/0.3424, allocations: 355 kB / 1.217 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3424, allocations: 4 kB / 1.217 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3424, allocations: 0 / 1.217 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3424, allocations: 0 / 1.217 GB, free: 0.6328 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.0008493/0.3433, allocations: 0.4953 MB / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3433, allocations: 8.625 kB / 1.217 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.3434, allocations: 54.73 kB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.3436, allocations: 20.88 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3439, allocations: 212.1 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3439, allocations: 16.69 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.344, allocations: 12.38 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.3444, allocations: 252.8 kB / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3445, allocations: 0 / 1.218 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3445, allocations: 12 kB / 1.218 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.3445, allocations: 8 kB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.345, allocations: 423.5 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3462, allocations: 1.011 MB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3465, allocations: 159 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3466, allocations: 60.89 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.3479, allocations: 1.833 MB / 1.221 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3479, allocations: 30.56 kB / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.3479, allocations: 0 / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003394/0.3482, allocations: 155.3 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.3483, allocations: 51.41 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3484, allocations: 175.2 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3485, allocations: 29.7 kB / 1.221 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.3486, allocations: 143.7 kB / 1.222 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.3486, allocations: 55.23 kB / 1.222 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.3487, allocations: 57.7 kB / 1.222 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3488, allocations: 318.8 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.3489, allocations: 35.98 kB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3491, allocations: 151.3 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.3493, allocations: 193.5 kB / 1.222 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3493, allocations: 4 kB / 1.222 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003315/0.3497, allocations: 215.6 kB / 1.223 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3497, allocations: 11.94 kB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3497, allocations: 4 kB / 1.223 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3497, allocations: 7.938 kB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3499, allocations: 51.91 kB / 1.223 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3499, allocations: 8.469 kB / 1.223 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.35, allocations: 31.69 kB / 1.223 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3501, allocations: 12 kB / 1.223 GB, free: 9.617 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.0001066/0.3502, allocations: 137.7 kB / 1.223 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.3502, allocations: 15.81 kB / 1.223 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.3505, allocations: 150.9 kB / 1.223 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3506, allocations: 7.938 kB / 1.223 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3506, allocations: 0 / 1.223 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3506, allocations: 0 / 1.223 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.3508, allocations: 221.4 kB / 1.223 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3508, allocations: 4 kB / 1.223 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.3509, allocations: 27.98 kB / 1.223 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3509, allocations: 0 / 1.223 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.351, allocations: 4 kB / 1.223 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.351, allocations: 3.938 kB / 1.223 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.351, allocations: 0 / 1.223 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.3512, allocations: 215.3 kB / 1.223 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.3513, allocations: 112.8 kB / 1.224 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3513, allocations: 8 kB / 1.224 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3515, allocations: 19.92 kB / 1.224 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.3516, allocations: 7.984 kB / 1.224 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3516, allocations: 8 kB / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.831e-05/0.3517, allocations: 124.9 kB / 1.224 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3517, allocations: 0 / 1.224 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003989/0.3521, allocations: 79.97 kB / 1.224 GB, free: 8.398 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.0007083/0.3528, allocations: 0.8321 MB / 1.225 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3531, allocations: 120.3 kB / 1.225 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3531, allocations: 4.312 kB / 1.225 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.3531, allocations: 43.92 kB / 1.225 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3536, allocations: 59.88 kB / 1.225 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.3557, allocations: 2.042 MB / 1.227 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.356, allocations: 0.7244 MB / 1.227 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.3562, allocations: 41.75 kB / 1.228 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.3562, allocations: 47.42 kB / 1.228 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3562, allocations: 0 / 1.228 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.3784, allocations: 5.222 MB / 1.233 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.352, allocations: 23.97 kB / 1.233 GB, free: 15.16 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