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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001292/0.001292, allocations: 197.8 kB / 16.14 MB, free: 6.645 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.203/1.203, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.423/2.423, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.66 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2459, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006121/0.2521, allocations: 4.483 MB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.2551, allocations: 2.722 MB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.2552, allocations: 0 / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.2554, allocations: 39.8 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.2557, allocations: 83.48 kB / 1.059 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2569, allocations: 454.5 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.2572, allocations: 307.9 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.2573, allocations: 9.562 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009981/0.2583, allocations: 398.8 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.2585, allocations: 95.59 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.2585, allocations: 4 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.2595, allocations: 0.4911 MB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.2596, allocations: 35.89 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.885e-05/0.2597, allocations: 87.58 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006896/0.2604, allocations: 347.4 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2604, allocations: 0 / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2604, allocations: 0 / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.2604, allocations: 0 / 1.061 GB, free: 14.68 MB / 0.8262 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.0007487/0.2612, allocations: 0.5031 MB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2612, allocations: 11.97 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.2613, allocations: 54.73 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2615, allocations: 24.69 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.2617, allocations: 216.1 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2617, allocations: 8.703 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.2618, allocations: 20.38 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.2622, allocations: 252.8 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2622, allocations: 0 / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.2622, allocations: 8 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.2622, allocations: 8 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.2627, allocations: 431.5 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.2638, allocations: 1.008 MB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.2641, allocations: 156.2 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2642, allocations: 70.83 kB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.2655, allocations: 1.817 MB / 1.066 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2656, allocations: 42.55 kB / 1.066 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2656, allocations: 0 / 1.066 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003307/0.2659, allocations: 145.3 kB / 1.066 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2659, allocations: 55.41 kB / 1.066 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2661, allocations: 171.3 kB / 1.066 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2662, allocations: 33.7 kB / 1.066 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2663, allocations: 139.8 kB / 1.066 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.2663, allocations: 51.27 kB / 1.067 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.2664, allocations: 57.59 kB / 1.067 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2665, allocations: 330.8 kB / 1.067 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.2666, allocations: 31.98 kB / 1.067 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.2667, allocations: 141.6 kB / 1.067 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.267, allocations: 204.3 kB / 1.067 GB, free: 8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.267, allocations: 0 / 1.067 GB, free: 8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003272/0.2673, allocations: 209.4 kB / 1.067 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2673, allocations: 9.078 kB / 1.067 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2673, allocations: 4 kB / 1.067 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2674, allocations: 11.94 kB / 1.067 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.2675, allocations: 55.86 kB / 1.068 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2676, allocations: 4 kB / 1.068 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2677, allocations: 27.69 kB / 1.068 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.2677, allocations: 16.33 kB / 1.068 GB, free: 7.664 MB / 0.8262 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.0001074/0.2678, allocations: 137.7 kB / 1.068 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.2679, allocations: 15.81 kB / 1.068 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.2682, allocations: 154.9 kB / 1.068 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.2682, allocations: 3.938 kB / 1.068 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2682, allocations: 0 / 1.068 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2682, allocations: 7.984 kB / 1.068 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.2685, allocations: 217.5 kB / 1.068 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2685, allocations: 0 / 1.068 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.2686, allocations: 23.98 kB / 1.068 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2686, allocations: 4 kB / 1.068 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2687, allocations: 4 kB / 1.068 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2687, allocations: 3.938 kB / 1.068 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2687, allocations: 0 / 1.068 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.2689, allocations: 230.3 kB / 1.068 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.269, allocations: 108.8 kB / 1.068 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.269, allocations: 0 / 1.068 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.2693, allocations: 23.92 kB / 1.068 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.2693, allocations: 11.98 kB / 1.069 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.2693, allocations: 8 kB / 1.069 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001061/0.2694, allocations: 124.9 kB / 1.069 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2694, allocations: 0 / 1.069 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004062/0.2699, allocations: 68 kB / 1.069 GB, free: 6.445 MB / 0.8262 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.0007384/0.2706, allocations: 0.841 MB / 1.07 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.2708, allocations: 120.3 kB / 1.07 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2709, allocations: 4.312 kB / 1.07 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.2709, allocations: 42.23 kB / 1.07 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.2714, allocations: 55.83 kB / 1.07 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.2736, allocations: 2.067 MB / 1.072 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2739, allocations: 0.7131 MB / 1.072 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.2741, allocations: 49.69 kB / 1.072 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.2742, allocations: 43.42 kB / 1.073 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of SimCode: time 1.653e-06/0.2742, allocations: 0 / 1.073 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5106/0.7848, allocations: 4.918 MB / 1.077 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.7851, allocations: 212.3 kB / 1.078 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/3.621, allocations: 3.938 kB / 1.078 GB, free: 13.25 MB / 0.8419 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