Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005825/0.005825, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001807/0.001807, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31/1.312, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.0036/1.315, allocations: 1.667 MB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/1.316, allocations: 406.5 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/1.316, allocations: 0.7812 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001498/1.316, allocations: 15.05 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/1.317, allocations: 24.56 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/1.317, allocations: 117.5 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/1.317, allocations: 106.4 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/1.317, allocations: 40.62 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/1.318, allocations: 47.62 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/1.318, allocations: 36.91 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/1.318, allocations: 12.72 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/1.318, allocations: 60.22 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/1.318, allocations: 21.53 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/1.318, allocations: 49.41 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/1.318, allocations: 130.1 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.318, allocations: 0.5 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.896e-06/1.318, allocations: 4 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.318, allocations: 0.75 kB / 1.091 GB, free: 3.789 MB / 0.8575 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.0007927/1.319, allocations: 419.2 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.319, allocations: 10 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/1.32, allocations: 31.88 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/1.32, allocations: 194.3 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/1.32, allocations: 43.86 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/1.32, allocations: 5.625 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/1.32, allocations: 99.89 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.32, allocations: 4.688 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/1.32, allocations: 4.969 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/1.32, allocations: 5.875 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/1.321, allocations: 78.8 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/1.322, allocations: 382.5 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/1.322, allocations: 128.6 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/1.322, allocations: 39.84 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/1.322, allocations: 0.875 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/1.322, allocations: 35.88 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/1.322, allocations: 0.7812 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005103/1.323, allocations: 141.6 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/1.323, allocations: 52.53 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/1.323, allocations: 148.9 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/1.323, allocations: 26.64 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/1.323, allocations: 98.44 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/1.323, allocations: 24.55 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/1.323, allocations: 24.06 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/1.323, allocations: 323.9 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/1.324, allocations: 30.62 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/1.324, allocations: 42.97 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/1.324, allocations: 80.17 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.324, allocations: 0 / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002768/1.324, allocations: 119.8 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.324, allocations: 5.938 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.324, allocations: 4.75 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.324, allocations: 4.688 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/1.324, allocations: 25.86 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.324, allocations: 0.7812 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/1.325, allocations: 12.05 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.325, allocations: 6.219 kB / 1.093 GB, free: 1.719 MB / 0.8575 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 9.062e-05/1.325, allocations: 114 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/1.325, allocations: 8.859 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/1.325, allocations: 16.16 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.325, allocations: 4.688 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/1.325, allocations: 1.156 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.325, allocations: 0.7969 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/1.325, allocations: 194.3 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.325, allocations: 0.7812 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/1.325, allocations: 23.09 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/1.325, allocations: 1.391 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/1.325, allocations: 4.875 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.325, allocations: 4.812 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.325, allocations: 0.6094 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/1.325, allocations: 201.1 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/1.325, allocations: 92.94 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/1.326, allocations: 0.8438 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/1.326, allocations: 14.14 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/1.326, allocations: 8.875 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.326, allocations: 3.562 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.28e-05/1.326, allocations: 106.7 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.21e-07/1.326, allocations: 0 / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002348/1.326, allocations: 20.56 kB / 1.094 GB, free: 1.004 MB / 0.8575 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.000107/1.326, allocations: 109.8 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002797/1.326, allocations: 66.83 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.326, allocations: 0.75 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/1.327, allocations: 40.56 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/1.327, allocations: 40.88 kB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/1.327, allocations: 200.9 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/1.328, allocations: 0.6935 MB / 1.095 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.783e-05/1.328, allocations: 12.78 kB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/1.328, allocations: 11.91 kB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of SimCode: time 2e-07/1.328, allocations: 0 / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of Templates: time 0.005429/1.333, allocations: 1.455 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches