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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.01015/0.01015, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.001662/0.001662, allocations: 193.2 kB / 16.79 MB, free: 5.809 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.842/1.842, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.14 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6039/0.6052, allocations: 140.4 MB / 0.9496 GB, free: 9.508 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002582/0.6079, allocations: 1.728 MB / 0.9513 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.6085, allocations: 405.5 kB / 0.9516 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.6086, allocations: 9.312 kB / 0.9517 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.444e-05/0.6087, allocations: 11.86 kB / 0.9517 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.6088, allocations: 14.61 kB / 0.9517 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.6091, allocations: 107.5 kB / 0.9518 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.6093, allocations: 108.4 kB / 0.9519 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.6094, allocations: 38.25 kB / 0.9519 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.6094, allocations: 42.98 kB / 0.952 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.6095, allocations: 40.97 kB / 0.952 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.6095, allocations: 4.312 kB / 0.952 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.6097, allocations: 56.42 kB / 0.9521 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.6097, allocations: 16.08 kB / 0.9521 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.6098, allocations: 49.66 kB / 0.9521 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.6099, allocations: 88.8 kB / 0.9522 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6099, allocations: 0 / 0.9522 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.6099, allocations: 0 / 0.9522 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6099, allocations: 1.219 kB / 0.9522 GB, free: 7.48 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.0005241/0.6105, allocations: 421.4 kB / 0.9526 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.6105, allocations: 9.625 kB / 0.9526 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.6107, allocations: 33.44 kB / 0.9526 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.6109, allocations: 193.1 kB / 0.9528 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.611, allocations: 34.86 kB / 0.9529 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.611, allocations: 5.5 kB / 0.9529 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.6112, allocations: 107.4 kB / 0.953 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.6113, allocations: 3.938 kB / 0.953 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.6113, allocations: 4 kB / 0.953 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6113, allocations: 5.828 kB / 0.953 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.6115, allocations: 90.61 kB / 0.9531 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.6121, allocations: 376.4 kB / 0.9534 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.6127, allocations: 134.7 kB / 0.9536 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.6128, allocations: 36.69 kB / 0.9536 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.6128, allocations: 0.9062 kB / 0.9536 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.6128, allocations: 43.48 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.6128, allocations: 1.094 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004407/0.6133, allocations: 132 kB / 0.9538 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.6133, allocations: 51.41 kB / 0.9538 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.6134, allocations: 140.6 kB / 0.9539 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.6135, allocations: 25.7 kB / 0.954 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.6135, allocations: 108.3 kB / 0.9541 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.6136, allocations: 29.83 kB / 0.9541 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.6136, allocations: 19.25 kB / 0.9541 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.6137, allocations: 321.1 kB / 0.9544 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.6138, allocations: 32.45 kB / 0.9545 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.6139, allocations: 44.31 kB / 0.9545 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.6141, allocations: 80.34 kB / 0.9546 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6141, allocations: 0 / 0.9546 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002463/0.6144, allocations: 111.8 kB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6144, allocations: 4.938 kB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6144, allocations: 1.219 kB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6144, allocations: 1.594 kB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.6145, allocations: 32.45 kB / 0.9547 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6145, allocations: 1.469 kB / 0.9547 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.6146, allocations: 9.172 kB / 0.9547 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.6146, allocations: 2.125 kB / 0.9547 GB, free: 5.199 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 5.786e-05/0.6147, allocations: 113.1 kB / 0.9548 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.6147, allocations: 13.03 kB / 0.9549 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.6148, allocations: 14.12 kB / 0.9549 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6148, allocations: 4.938 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6148, allocations: 4 kB / 0.9549 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6148, allocations: 1.594 kB / 0.9549 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.615, allocations: 204.1 kB / 0.9551 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.615, allocations: 0 / 0.9551 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.6151, allocations: 19.08 kB / 0.9551 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6151, allocations: 1.281 kB / 0.9551 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6151, allocations: 3.938 kB / 0.9551 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6151, allocations: 5.531 kB / 0.9551 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6151, allocations: 0 / 0.9551 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.6154, allocations: 204.4 kB / 0.9553 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.6154, allocations: 87.27 kB / 0.9554 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.6154, allocations: 1.156 kB / 0.9554 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.6156, allocations: 13.77 kB / 0.9554 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.6156, allocations: 7.344 kB / 0.9554 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6156, allocations: 6.172 kB / 0.9554 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.6157, allocations: 107.8 kB / 0.9555 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6157, allocations: 1.188 kB / 0.9555 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002517/0.616, allocations: 16.38 kB / 0.9555 GB, free: 4.43 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 9.152e-05/0.6161, allocations: 105.8 kB / 0.9556 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.6163, allocations: 73.69 kB / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6163, allocations: 0 / 0.9557 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.6164, allocations: 47.38 kB / 0.9557 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.6168, allocations: 30.88 kB / 0.9558 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.6172, allocations: 259.5 kB / 0.956 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.6174, allocations: 0.6933 MB / 0.9567 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.6174, allocations: 11.25 kB / 0.9567 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.6174, allocations: 0 / 0.9567 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.002654/0.6201, allocations: 1.298 MB / 0.958 GB, free: 2.656 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches