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.001048/0.001048, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.4/2.4, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6071/0.6085, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006596/0.6151, allocations: 4.435 MB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002898/0.618, allocations: 2.683 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.6182, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.6185, allocations: 51.67 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.6188, allocations: 99.41 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.6202, allocations: 485.8 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.6204, allocations: 243.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.6205, allocations: 13.56 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009508/0.6215, allocations: 406.8 kB / 1.026 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.6216, allocations: 95.59 kB / 1.026 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.6217, allocations: 8 kB / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.6227, allocations: 493.4 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.6228, allocations: 39.89 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.168e-05/0.6229, allocations: 83.58 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006822/0.6236, allocations: 351 kB / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6236, allocations: 0 / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.654e-06/0.6236, allocations: 0 / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.6236, allocations: 0 / 1.027 GB, free: 9.016 MB / 0.7794 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.0007248/0.6243, allocations: 0.4914 MB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.6244, allocations: 12.03 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.6244, allocations: 54.72 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.6246, allocations: 28.73 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.6248, allocations: 204.2 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.6248, allocations: 12.7 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.6249, allocations: 16.38 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.6252, allocations: 244.9 kB / 1.028 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6253, allocations: 8 kB / 1.028 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.6253, allocations: 4 kB / 1.028 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.6253, allocations: 11.98 kB / 1.028 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.6258, allocations: 431.4 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.6269, allocations: 1.011 MB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.6272, allocations: 155.7 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.6273, allocations: 64.88 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.6286, allocations: 1.829 MB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6287, allocations: 34.56 kB / 1.031 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.6287, allocations: 4 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003211/0.629, allocations: 145.3 kB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.6291, allocations: 51.41 kB / 1.031 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.6292, allocations: 173 kB / 1.031 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.6292, allocations: 25.7 kB / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.6293, allocations: 143.8 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.6294, allocations: 55.2 kB / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.235e-05/0.6294, allocations: 53.61 kB / 1.032 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6296, allocations: 326.8 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.6296, allocations: 35.92 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.6298, allocations: 138.2 kB / 1.032 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.63, allocations: 199.8 kB / 1.032 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.63, allocations: 4 kB / 1.032 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003231/0.6303, allocations: 213.1 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.6304, allocations: 8 kB / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6304, allocations: 4 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.6304, allocations: 7.938 kB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.6306, allocations: 59.91 kB / 1.033 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.6306, allocations: 4.469 kB / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.6307, allocations: 35.62 kB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.6307, allocations: 15.94 kB / 1.033 GB, free: 2.012 MB / 0.7794 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.965e-05/0.6308, allocations: 129.7 kB / 1.033 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.6309, allocations: 19.81 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.6312, allocations: 155.7 kB / 1.033 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6312, allocations: 7.938 kB / 1.033 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6312, allocations: 0 / 1.033 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6312, allocations: 0 / 1.033 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.6315, allocations: 221.5 kB / 1.033 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6315, allocations: 0 / 1.033 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.6316, allocations: 23.94 kB / 1.033 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6316, allocations: 3.984 kB / 1.033 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6316, allocations: 11.98 kB / 1.033 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6316, allocations: 3.938 kB / 1.033 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6316, allocations: 0 / 1.033 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.6319, allocations: 214 kB / 1.033 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.632, allocations: 105 kB / 1.034 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.632, allocations: 8 kB / 1.034 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.6322, allocations: 27.91 kB / 1.034 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.6322, allocations: 4 kB / 1.034 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.6323, allocations: 15.98 kB / 1.034 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.314e-05/0.6324, allocations: 117.6 kB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6324, allocations: 0 / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003841/0.6328, allocations: 87.86 kB / 1.034 GB, free: 0.7891 MB / 0.7794 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.0007619/0.6335, allocations: 0.8254 MB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.6338, allocations: 126.8 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6338, allocations: 3.938 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.6339, allocations: 47.91 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.6343, allocations: 55.83 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.6364, allocations: 2.016 MB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.6367, allocations: 0.7127 MB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.6369, allocations: 49.73 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.637, allocations: 51.42 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of SimCode: time 4.71e-07/0.637, allocations: 0 / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09862/0.7357, allocations: 5.131 MB / 1.043 GB, free: 7.668 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.742, allocations: 6.516 kB / 1.043 GB, free: 7.664 MB / 0.795 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=50 --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