Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_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.004381/0.004381, allocations: 101.1 kB / 15.73 MB, free: 6.02 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.001193/0.001193, allocations: 195.5 kB / 16.68 MB, free: 5.934 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.198/1.198, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.195/2.195, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 59.91 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6021, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005332/0.6075, allocations: 4.436 MB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.6101, allocations: 2.691 MB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.6101, allocations: 0 / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.6104, allocations: 51.66 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.6106, allocations: 99.3 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.6115, allocations: 497 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.6117, allocations: 239.9 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.6118, allocations: 5.562 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.6125, allocations: 424.3 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.6127, allocations: 83.67 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.6127, allocations: 8 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008049/0.6135, allocations: 0.4951 MB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.6136, allocations: 35.89 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/0.6136, allocations: 71.67 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.6142, allocations: 358.5 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6142, allocations: 4 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6142, allocations: 4 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6142, allocations: 0 / 1.175 GB, free: 10.25 MB / 0.9044 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.0006503/0.6148, allocations: 0.4947 MB / 1.176 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.6149, allocations: 12.92 kB / 1.176 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.6149, allocations: 54.67 kB / 1.176 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.6151, allocations: 20.84 kB / 1.176 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.6153, allocations: 212.2 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.6153, allocations: 16.7 kB / 1.176 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.6154, allocations: 20.38 kB / 1.176 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.6157, allocations: 237 kB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6157, allocations: 7.938 kB / 1.176 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.6157, allocations: 4 kB / 1.176 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.6158, allocations: 12 kB / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.6162, allocations: 427.5 kB / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.6172, allocations: 1.012 MB / 1.178 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.6175, allocations: 165.5 kB / 1.178 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.6176, allocations: 64.86 kB / 1.178 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.6189, allocations: 1.825 MB / 1.18 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6189, allocations: 46.44 kB / 1.18 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.6189, allocations: 0 / 1.18 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.000292/0.6192, allocations: 145.5 kB / 1.18 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.6193, allocations: 55.39 kB / 1.18 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.6194, allocations: 171.2 kB / 1.18 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.6195, allocations: 29.7 kB / 1.18 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.6196, allocations: 144.1 kB / 1.18 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.6196, allocations: 59.48 kB / 1.181 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/0.6197, allocations: 53.7 kB / 1.181 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6198, allocations: 326.8 kB / 1.181 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.6199, allocations: 35.97 kB / 1.181 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.62, allocations: 138.2 kB / 1.181 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.6203, allocations: 203.6 kB / 1.181 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6203, allocations: 4 kB / 1.181 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003032/0.6206, allocations: 209.6 kB / 1.181 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6206, allocations: 12 kB / 1.181 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6206, allocations: 4 kB / 1.181 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6206, allocations: 7.938 kB / 1.181 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.6208, allocations: 51.92 kB / 1.182 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.6208, allocations: 11.94 kB / 1.182 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.6209, allocations: 31.77 kB / 1.182 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.6209, allocations: 16 kB / 1.182 GB, free: 3.219 MB / 0.9044 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 9.963e-05/0.621, allocations: 129.7 kB / 1.182 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.6211, allocations: 23.91 kB / 1.182 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.6214, allocations: 157.8 kB / 1.182 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.6214, allocations: 7.938 kB / 1.182 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6214, allocations: 0 / 1.182 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6214, allocations: 3.984 kB / 1.182 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.6216, allocations: 213.5 kB / 1.182 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6216, allocations: 3.938 kB / 1.182 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/0.6217, allocations: 23.98 kB / 1.182 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6217, allocations: 0 / 1.182 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.6217, allocations: 8 kB / 1.182 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6218, allocations: 3.938 kB / 1.182 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6218, allocations: 4 kB / 1.182 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.622, allocations: 215.4 kB / 1.182 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.6221, allocations: 108.9 kB / 1.182 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.6221, allocations: 7.938 kB / 1.182 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.6223, allocations: 23.91 kB / 1.182 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.6223, allocations: 7.984 kB / 1.182 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.6224, allocations: 16 kB / 1.182 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.677e-05/0.6225, allocations: 124.9 kB / 1.183 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6225, allocations: 0 / 1.183 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003235/0.6228, allocations: 75.88 kB / 1.183 GB, free: 1.984 MB / 0.9044 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.0006484/0.6235, allocations: 0.8309 MB / 1.183 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.6237, allocations: 111.8 kB / 1.184 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6237, allocations: 3.938 kB / 1.184 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.6237, allocations: 47.92 kB / 1.184 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.6241, allocations: 56.72 kB / 1.184 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.6261, allocations: 2.04 MB / 1.186 GB, free: 14.7 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.6264, allocations: 0.7128 MB / 1.186 GB, free: 13.96 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000131/0.6266, allocations: 49.69 kB / 1.186 GB, free: 13.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.6266, allocations: 43.42 kB / 1.186 GB, free: 13.87 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.6266, allocations: 0 / 1.186 GB, free: 13.87 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.173/1.8, allocations: 5.193 MB / 1.192 GB, free: 8.805 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.96, allocations: 14.33 kB / 1.192 GB, free: 8.797 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches