Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_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.004518/0.004518, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001331/0.001331, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.459/2.459, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 67.89 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2447, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005075/0.2498, allocations: 4.443 MB / 1.225 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.2523, allocations: 2.683 MB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.2524, allocations: 4 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.2526, allocations: 51.66 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.2528, allocations: 87.44 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008477/0.2537, allocations: 0.4907 MB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000234/0.2539, allocations: 239.9 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.2539, allocations: 13.56 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.2546, allocations: 418.8 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2548, allocations: 87.66 kB / 1.228 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2548, allocations: 8 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007605/0.2556, allocations: 491.1 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.2556, allocations: 35.89 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.17e-05/0.2557, allocations: 83.59 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.2562, allocations: 346.8 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2562, allocations: 4 kB / 1.229 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2562, allocations: 4 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2562, allocations: 0 / 1.229 GB, free: 4.758 MB / 0.9825 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.0006036/0.2568, allocations: 0.4986 MB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.2569, allocations: 8.031 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.2569, allocations: 54.73 kB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.2571, allocations: 24.83 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2573, allocations: 212.1 kB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2573, allocations: 16.7 kB / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.2573, allocations: 16.31 kB / 1.23 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.2577, allocations: 244.9 kB / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2577, allocations: 0 / 1.23 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.2577, allocations: 15.92 kB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.2577, allocations: 7.938 kB / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.2582, allocations: 435.5 kB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009251/0.2591, allocations: 1.008 MB / 1.232 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.2594, allocations: 157.5 kB / 1.232 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.2595, allocations: 60.83 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.2607, allocations: 1.825 MB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2608, allocations: 34.56 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2608, allocations: 0 / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0002846/0.2611, allocations: 150.8 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.2611, allocations: 51.41 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2612, allocations: 183.9 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2613, allocations: 29.7 kB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.2614, allocations: 144 kB / 1.234 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.2614, allocations: 55.59 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.2615, allocations: 53.69 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2616, allocations: 322.8 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.2617, allocations: 39.98 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2618, allocations: 142.7 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.262, allocations: 200.6 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.262, allocations: 3.938 kB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000292/0.2623, allocations: 217.5 kB / 1.235 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2623, allocations: 8 kB / 1.235 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2624, allocations: 4 kB / 1.235 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2624, allocations: 7.938 kB / 1.235 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.2625, allocations: 59.91 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2626, allocations: 11.94 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.205e-05/0.2626, allocations: 23.84 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2627, allocations: 8 kB / 1.236 GB, free: 13.73 MB / 0.9981 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.0001016/0.2628, allocations: 145.8 kB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.2628, allocations: 15.91 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.2631, allocations: 158.9 kB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.2631, allocations: 7.938 kB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2631, allocations: 0 / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2631, allocations: 0 / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.2633, allocations: 213.6 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2634, allocations: 0 / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/0.2634, allocations: 27.92 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2634, allocations: 0 / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2635, allocations: 4 kB / 1.236 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2635, allocations: 11.94 kB / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2635, allocations: 0 / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.2637, allocations: 218 kB / 1.236 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.2638, allocations: 112.9 kB / 1.236 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.2638, allocations: 3.984 kB / 1.236 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.264, allocations: 19.92 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.264, allocations: 11.98 kB / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.2641, allocations: 12 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.2641, allocations: 123.9 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2642, allocations: 0 / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003225/0.2645, allocations: 75.86 kB / 1.237 GB, free: 12.5 MB / 0.9981 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.0006092/0.2651, allocations: 0.8259 MB / 1.237 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.2653, allocations: 115.8 kB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2653, allocations: 0 / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.2654, allocations: 47.25 kB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.2658, allocations: 69.67 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.2677, allocations: 2.054 MB / 1.24 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.268, allocations: 0.709 MB / 1.24 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.2681, allocations: 49.67 kB / 1.24 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.2682, allocations: 47.42 kB / 1.24 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.2682, allocations: 0 / 1.24 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.015/5.283, allocations: 5.167 MB / 1.246 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/19.02, allocations: 13.33 kB / 1.246 GB, free: 3.32 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches