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: 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_latest_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_latest_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.001716/0.001716, allocations: 108.7 kB / 16.41 MB, free: 6.48 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.001871/0.001871, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.807/0.8084, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002793/0.8113, allocations: 1.674 MB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.812, allocations: 402.8 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.8121, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.8122, allocations: 7.875 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.8123, allocations: 27.78 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.8127, allocations: 118.8 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.8129, allocations: 107.6 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.813, allocations: 43.97 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.8131, allocations: 43.84 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.8132, allocations: 43.78 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.8132, allocations: 8 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.8134, allocations: 59.95 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.8134, allocations: 23.95 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.8135, allocations: 47.73 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.8137, allocations: 131.4 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8137, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8137, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8137, allocations: 4 kB / 1.211 GB, free: 10.9 MB / 0.9356 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.0005909/0.8143, allocations: 420.9 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.8143, allocations: 8.031 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.8146, allocations: 28.83 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.8148, allocations: 196.2 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.8149, allocations: 34.27 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.8149, allocations: 8.375 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.8152, allocations: 107.8 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8152, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8152, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8152, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.8155, allocations: 79.94 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.8162, allocations: 400.4 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.8167, allocations: 126.6 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.8169, allocations: 40.84 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.8169, allocations: 0 / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.8169, allocations: 34.5 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.8169, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.00043/0.8174, allocations: 137.5 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.8174, allocations: 63.34 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.8175, allocations: 135.4 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.8176, allocations: 25.7 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.8176, allocations: 100.1 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.8176, allocations: 31.7 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.8177, allocations: 25.64 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.8178, allocations: 318.8 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.8179, allocations: 35.97 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.8181, allocations: 45.62 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.8183, allocations: 73.69 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8183, allocations: 0 / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002715/0.8186, allocations: 117.5 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.8186, allocations: 4 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8186, allocations: 0 / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8186, allocations: 3.938 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.8187, allocations: 23.98 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.8187, allocations: 0 / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.8188, allocations: 4 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.8188, allocations: 4 kB / 1.214 GB, free: 8.082 MB / 0.9356 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.202e-05/0.8189, allocations: 121.9 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.819, allocations: 7.906 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.819, allocations: 16.66 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.819, allocations: 7.938 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8191, allocations: 0 / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8191, allocations: 0 / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.8193, allocations: 205.6 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.8193, allocations: 0 / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.8194, allocations: 15.98 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.8194, allocations: 11.92 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.8194, allocations: 4 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8194, allocations: 3.938 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8194, allocations: 0 / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.8198, allocations: 195.4 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.8198, allocations: 92.94 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.8198, allocations: 0 / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.82, allocations: 19.92 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.8201, allocations: 3.938 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.8201, allocations: 11.98 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.8201, allocations: 105 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8202, allocations: 0 / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002439/0.8204, allocations: 19.91 kB / 1.214 GB, free: 7.156 MB / 0.9356 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.000111/0.8205, allocations: 95.25 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.8208, allocations: 84.55 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8208, allocations: 3.938 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.8209, allocations: 35.98 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.8213, allocations: 28.22 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.8217, allocations: 235.2 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.822, allocations: 0.6963 MB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.8221, allocations: 11.44 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.8221, allocations: 0 / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.0027/0.8248, allocations: 1.304 MB / 1.217 GB, free: 4.613 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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