Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.00599/0.00599, allocations: 102.5 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.001198/0.001198, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.11 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2704, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002782/0.2733, allocations: 1.67 MB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.274, allocations: 399.3 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.2741, allocations: 7.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.48e-05/0.2742, allocations: 7.875 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.2742, allocations: 23.77 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.2747, allocations: 117.9 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.2748, allocations: 111.6 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.275, allocations: 36.25 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.275, allocations: 39.91 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.2751, allocations: 51.77 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.2751, allocations: 8 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.2753, allocations: 59.95 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.2753, allocations: 19.92 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.2754, allocations: 39.8 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2756, allocations: 139.6 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2756, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2756, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.2756, allocations: 0 / 1.21 GB, free: 7.445 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005578/0.2762, allocations: 427 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2762, allocations: 8.625 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.2763, allocations: 38.75 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.2765, allocations: 32.75 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.2767, allocations: 192.2 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.405e-05/0.2768, allocations: 34.27 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.2768, allocations: 12.38 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.2771, allocations: 113.9 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2771, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2771, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2771, allocations: 7.938 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.2774, allocations: 77.5 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.2781, allocations: 392.3 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.2786, allocations: 126.6 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.2787, allocations: 44.83 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.2787, allocations: 0 / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2788, allocations: 34.56 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.2788, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004231/0.2792, allocations: 133.8 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.2792, allocations: 59.34 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2794, allocations: 139.5 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.2794, allocations: 29.7 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.2794, allocations: 100 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2795, allocations: 23.64 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.2795, allocations: 21.72 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.2796, allocations: 318.8 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2797, allocations: 27.98 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2798, allocations: 49.69 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.2801, allocations: 82.08 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2801, allocations: 0 / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002714/0.2804, allocations: 113.5 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2804, allocations: 12.03 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2804, allocations: 0 / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2804, allocations: 3.938 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2805, allocations: 15.98 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2805, allocations: 4 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.2806, allocations: 19.86 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.2807, allocations: 4 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * 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 8.211e-05/0.2807, allocations: 109.8 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.2808, allocations: 19.89 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.2808, allocations: 12.72 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2808, allocations: 3.938 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2808, allocations: 0 / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2809, allocations: 7.984 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.281, allocations: 193.5 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2811, allocations: 0 / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.2812, allocations: 19.92 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2812, allocations: 0 / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2812, allocations: 4 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2812, allocations: 7.938 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2812, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.2815, allocations: 199.4 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.2816, allocations: 92.95 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2816, allocations: 4 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.2818, allocations: 11.92 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.2818, allocations: 11.98 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2818, allocations: 4 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.2819, allocations: 101.3 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2819, allocations: 4 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002529/0.2822, allocations: 20 kB / 1.213 GB, free: 3.648 MB / 0.9669 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.00054/0.2827, allocations: 0.7357 MB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.283, allocations: 75.89 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.283, allocations: 0 / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.2831, allocations: 35.97 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.2835, allocations: 31.98 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.2853, allocations: 1.567 MB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2856, allocations: 0.6924 MB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.416e-05/0.2856, allocations: 16.66 kB / 1.216 GB, free: 364 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.2857, allocations: 25.19 kB / 1.216 GB, free: 340 kB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.2857, allocations: 0 / 1.216 GB, free: 340 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.3039, allocations: 2.777 MB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.96, allocations: 9.719 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches