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.001127/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001214/0.001214, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.485/2.485, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8716, allocations: 140.3 MB / 0.9491 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003533/0.8751, allocations: 1.719 MB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.8759, allocations: 409.2 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.235e-05/0.876, allocations: 1.375 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.8762, allocations: 7.922 kB / 0.9512 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.8763, allocations: 23.91 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.8767, allocations: 109.5 kB / 0.9513 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.8769, allocations: 110.3 kB / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.8771, allocations: 43.06 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.8771, allocations: 43.09 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.8772, allocations: 40.22 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.8773, allocations: 16.19 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.8774, allocations: 59.33 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.8774, allocations: 20.5 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.8775, allocations: 48.94 kB / 0.9517 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.8777, allocations: 122.9 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8777, allocations: 0 / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8777, allocations: 0 / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.8777, allocations: 1.031 kB / 0.9518 GB, free: 6.996 MB / 0.7169 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.0006289/0.8784, allocations: 426.5 kB / 0.9522 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.8784, allocations: 9.375 kB / 0.9522 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.8787, allocations: 28.72 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.8789, allocations: 196.6 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.879, allocations: 35.16 kB / 0.9524 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.879, allocations: 10.06 kB / 0.9525 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.8793, allocations: 104 kB / 0.9526 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.8793, allocations: 9.312 kB / 0.9526 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.8793, allocations: 0 / 0.9526 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.8793, allocations: 2.625 kB / 0.9526 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.8795, allocations: 77.97 kB / 0.9526 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.8802, allocations: 385.1 kB / 0.953 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.8808, allocations: 134.4 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.8809, allocations: 36.41 kB / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.8809, allocations: 5.562 kB / 0.9532 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.8809, allocations: 30.56 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.8809, allocations: 0.9375 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004039/0.8813, allocations: 135.7 kB / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.8814, allocations: 56.66 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.8815, allocations: 137 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.8815, allocations: 38.86 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.8816, allocations: 103.5 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.8816, allocations: 23.41 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.8816, allocations: 21.95 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.8817, allocations: 317.8 kB / 0.954 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.8818, allocations: 31.66 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/0.8819, allocations: 48.5 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.8821, allocations: 72.66 kB / 0.9541 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8821, allocations: 0 / 0.9541 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002399/0.8824, allocations: 120.3 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.8824, allocations: 5.062 kB / 0.9543 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.8824, allocations: 9.219 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8824, allocations: 0 / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.8825, allocations: 25.34 kB / 0.9543 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8826, allocations: 1.328 kB / 0.9543 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.8826, allocations: 9.281 kB / 0.9543 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.8827, allocations: 10.39 kB / 0.9543 GB, free: 4.707 MB / 0.7169 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 7.362e-05/0.8827, allocations: 117.2 kB / 0.9544 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.8828, allocations: 8.281 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.8828, allocations: 19 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8828, allocations: 4.906 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8828, allocations: 0 / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8828, allocations: 1.094 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.883, allocations: 199.2 kB / 0.9546 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.883, allocations: 1.125 kB / 0.9547 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/0.8831, allocations: 15.89 kB / 0.9547 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8831, allocations: 0 / 0.9547 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.8831, allocations: 0.9688 kB / 0.9547 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.8831, allocations: 4.906 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8831, allocations: 4 kB / 0.9547 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.8834, allocations: 204.4 kB / 0.9549 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.8834, allocations: 90.31 kB / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.8835, allocations: 5.562 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.8836, allocations: 14.8 kB / 0.955 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.8837, allocations: 6.844 kB / 0.955 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.8837, allocations: 5.516 kB / 0.955 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.8837, allocations: 104.6 kB / 0.9551 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8837, allocations: 0 / 0.9551 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002375/0.884, allocations: 21.78 kB / 0.9551 GB, free: 3.938 MB / 0.7169 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.0001108/0.8841, allocations: 95.69 kB / 0.9552 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.8844, allocations: 82.62 kB / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8844, allocations: 0 / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.8845, allocations: 38.7 kB / 0.9553 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.8849, allocations: 27.38 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.8854, allocations: 237.6 kB / 0.9556 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.8855, allocations: 0.7033 MB / 0.9563 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.8e-05/0.8856, allocations: 10.92 kB / 0.9563 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.8857, allocations: 12.25 kB / 0.9563 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8857, allocations: 0 / 0.9563 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.0038/0.8895, allocations: 1.382 MB / 0.9576 GB, free: 2.152 MB / 0.7169 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