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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9886/0.9886, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.079/2.079, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.043e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001964/0.001984, allocations: 1.718 MB / 0.8798 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005311/0.002516, allocations: 405.1 kB / 0.8802 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.002574, allocations: 3.438 kB / 0.8802 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.279e-05/0.002666, allocations: 15.81 kB / 0.8803 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.002705, allocations: 19.78 kB / 0.8803 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.003022, allocations: 119.6 kB / 0.8804 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.003146, allocations: 104.5 kB / 0.8805 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003246, allocations: 37.06 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.00332, allocations: 55.95 kB / 0.8806 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.00337, allocations: 31.89 kB / 0.8806 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.003387, allocations: 8 kB / 0.8806 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/0.003477, allocations: 61.47 kB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.003499, allocations: 23.91 kB / 0.8807 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.003533, allocations: 27.92 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.003698, allocations: 123.5 kB / 0.8808 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.003699, allocations: 1.156 kB / 0.8808 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.0037, allocations: 3.938 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.003703, allocations: 0 / 0.8808 GB, free: 3.914 MB / 0.8386 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.0004156/0.004119, allocations: 439.8 kB / 0.8813 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.004155, allocations: 12.03 kB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.004341, allocations: 48.69 kB / 0.8813 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.004499, allocations: 136.5 kB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.004553, allocations: 63.91 kB / 0.8815 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.004567, allocations: 8.375 kB / 0.8815 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.004722, allocations: 120.6 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004729, allocations: 4.188 kB / 0.8816 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.004741, allocations: 4.375 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.004751, allocations: 8.109 kB / 0.8816 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.00483, allocations: 43.97 kB / 0.8817 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.005239, allocations: 351.4 kB / 0.882 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.005506, allocations: 107.1 kB / 0.8821 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.005542, allocations: 31.78 kB / 0.8822 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.005551, allocations: 3.984 kB / 0.8822 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.005571, allocations: 33.39 kB / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005572, allocations: 4 kB / 0.8822 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001608/0.005733, allocations: 73.64 kB / 0.8823 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.005759, allocations: 59.39 kB / 0.8823 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.005839, allocations: 180.9 kB / 0.8825 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.005851, allocations: 29.7 kB / 0.8825 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.005898, allocations: 146.8 kB / 0.8827 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.005915, allocations: 23.75 kB / 0.8827 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.005948, allocations: 35.36 kB / 0.8827 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006053, allocations: 0.4922 MB / 0.8832 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.417e-05/0.006077, allocations: 11.98 kB / 0.8832 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.006113, allocations: 31.38 kB / 0.8832 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.006171, allocations: 55.28 kB / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006172, allocations: 0 / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.523e-05/0.006268, allocations: 77.58 kB / 0.8834 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.006279, allocations: 4 kB / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006283, allocations: 0 / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.006295, allocations: 4.031 kB / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.006351, allocations: 15.98 kB / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.006357, allocations: 4 kB / 0.8834 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.006386, allocations: 7.938 kB / 0.8834 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.006391, allocations: 4 kB / 0.8834 GB, free: 1.043 MB / 0.8386 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 6.638e-05/0.006457, allocations: 168.5 kB / 0.8836 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.006483, allocations: 7.953 kB / 0.8836 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.006503, allocations: 8.438 kB / 0.8836 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.006507, allocations: 3.984 kB / 0.8836 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.006511, allocations: 4 kB / 0.8836 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006514, allocations: 4 kB / 0.8836 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.006625, allocations: 140.5 kB / 0.8837 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006626, allocations: 4 kB / 0.8837 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.006661, allocations: 8 kB / 0.8837 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.006663, allocations: 0 / 0.8837 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.006671, allocations: 8 kB / 0.8838 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006673, allocations: 0 / 0.8838 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006674, allocations: 0 / 0.8838 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.006798, allocations: 228.3 kB / 0.884 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-06/0.006806, allocations: 7.953 kB / 0.884 GB, free: 404 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.006816, allocations: 4 kB / 0.884 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.006872, allocations: 8 kB / 0.884 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.006905, allocations: 11.98 kB / 0.884 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.006911, allocations: 0 / 0.884 GB, free: 380 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.006955, allocations: 139.2 kB / 0.8841 GB, free: 240 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006955, allocations: 0 / 0.8841 GB, free: 240 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001517/0.007107, allocations: 16 kB / 0.8841 GB, free: 224 kB / 0.8386 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 6.393e-05/0.007171, allocations: 99.25 kB / 0.8842 GB, free: 116 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.952e-05/0.00727, allocations: 51.66 kB / 0.8843 GB, free: 60 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007272, allocations: 4.062 kB / 0.8843 GB, free: 56 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.0073, allocations: 27.62 kB / 0.8843 GB, free: 24 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.007525, allocations: 28.11 kB / 0.8843 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.007999, allocations: 210.3 kB / 0.8845 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.008034, allocations: 67.34 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.008074, allocations: 4 kB / 0.8846 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.008104, allocations: 12.5 kB / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.008105, allocations: 0 / 0.8846 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.00263/0.01073, allocations: 1.374 MB / 0.886 GB, free: 14.33 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.265756835928187]