Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 111.5 kB / 16.41 MB, free: 6.488 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.001528/0.001528, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.15 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.451/2.451, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.89 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9245/0.9259, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003357/0.9293, allocations: 1.675 MB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.9303, allocations: 394.8 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.9305, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.9307, allocations: 15.86 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.9308, allocations: 23.73 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.9314, allocations: 118.1 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.9316, allocations: 111.6 kB / 1.17 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.9318, allocations: 39.97 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.9319, allocations: 43.84 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.932, allocations: 43.78 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.9321, allocations: 8 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.9323, allocations: 67.94 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.9323, allocations: 19.92 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.724e-05/0.9324, allocations: 47.78 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.9327, allocations: 127.5 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9327, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9327, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.9327, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 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.0007079/0.9334, allocations: 422.9 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.9335, allocations: 8.031 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.9338, allocations: 32.81 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.9341, allocations: 196.1 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.9342, allocations: 38.27 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.9342, allocations: 8.375 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.9345, allocations: 102.2 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.9345, allocations: 3.938 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.9346, allocations: 0 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.9346, allocations: 4 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.9348, allocations: 83.88 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.9356, allocations: 380.6 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.9362, allocations: 134.6 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.9363, allocations: 44.83 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.9363, allocations: 4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.9364, allocations: 30.56 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.9364, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004265/0.9368, allocations: 137.5 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.9369, allocations: 55.41 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.937, allocations: 144.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.937, allocations: 29.7 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.9371, allocations: 96.08 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.9371, allocations: 31.55 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.9372, allocations: 21.72 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9373, allocations: 318.8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.9374, allocations: 27.98 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.9375, allocations: 49.69 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.9378, allocations: 81.61 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9378, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002604/0.938, allocations: 109.5 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9381, allocations: 8 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9381, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9381, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.9382, allocations: 27.86 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9382, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-05/0.9383, allocations: 16.02 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.9383, allocations: 4 kB / 1.172 GB, free: 14.36 MB / 0.9044 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 0.0001097/0.9385, allocations: 113.8 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.9385, allocations: 7.906 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.9385, allocations: 12.72 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.9386, allocations: 7.922 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9386, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9386, allocations: 11.92 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.9388, allocations: 197.6 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9388, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.9389, allocations: 15.98 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.9389, allocations: 4 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.939, allocations: 0 / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.939, allocations: 4.484 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.939, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.9393, allocations: 215.3 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.9393, allocations: 88.95 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.9394, allocations: 4 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.9395, allocations: 11.92 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.9396, allocations: 7.984 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.9396, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.9397, allocations: 103.3 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9397, allocations: 0 / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002457/0.9399, allocations: 27.91 kB / 1.173 GB, free: 13.45 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 (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.0001286/0.9401, allocations: 99.23 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.9403, allocations: 79.89 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9403, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.9404, allocations: 39.91 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.9408, allocations: 30.86 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.9413, allocations: 228.7 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.9416, allocations: 0.6924 MB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.9417, allocations: 15.44 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.9417, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.003105/0.9448, allocations: 1.318 MB / 1.176 GB, free: 10.89 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches