Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00143/0.00143, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00158/0.00158, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.453/1.453, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.921/2.921, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.606e-05, allocations: 2.859 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003151/0.003177, allocations: 1.659 MB / 0.8124 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008191/0.003996, allocations: 382 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.00406, allocations: 0 / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.004171, allocations: 11.86 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.004238, allocations: 29.41 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.00471, allocations: 124.8 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.004893, allocations: 111.6 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.005008, allocations: 29.44 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.005124, allocations: 59.88 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.005195, allocations: 27.91 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.005221, allocations: 8 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.005361, allocations: 66.28 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.005412, allocations: 23.91 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.005472, allocations: 35.91 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.005735, allocations: 135.6 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005737, allocations: 0 / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005738, allocations: 0 / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005742, allocations: 0.7188 kB / 0.8134 GB, free: 15.43 MB / 0.7761 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.0006402/0.006382, allocations: 346.4 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.006419, allocations: 9.688 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.006698, allocations: 44.73 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.006967, allocations: 138.3 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/0.007064, allocations: 63.91 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.007084, allocations: 9.594 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.007416, allocations: 127.8 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.007425, allocations: 1.344 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.007443, allocations: 8.312 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.007455, allocations: 12.11 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.007727, allocations: 73.31 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.008449, allocations: 310 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.009009, allocations: 127.2 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.009131, allocations: 38.41 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.009149, allocations: 4 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.009181, allocations: 32.34 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.009182, allocations: 0 / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0004939/0.009676, allocations: 137.7 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.00972, allocations: 56.22 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.009843, allocations: 122.1 kB / 0.815 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.009869, allocations: 28.02 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.00994, allocations: 99.98 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.009971, allocations: 27.78 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.01002, allocations: 17.72 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.01019, allocations: 330.7 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.01033, allocations: 30.02 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.01046, allocations: 46 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.01069, allocations: 82.31 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01069, allocations: 0.5 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003008/0.01099, allocations: 111.5 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.01101, allocations: 8 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01101, allocations: 0 / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.01103, allocations: 0 / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01116, allocations: 21.14 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.01117, allocations: 0 / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.01126, allocations: 15.55 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.01127, allocations: 4 kB / 0.8158 GB, free: 12.81 MB / 0.7761 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 0.0001113/0.01138, allocations: 125.7 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.01142, allocations: 7.953 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.01146, allocations: 8.438 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01146, allocations: 3.938 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01147, allocations: 4 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01147, allocations: 0 / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.01167, allocations: 141.2 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.01168, allocations: 6.078 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.01179, allocations: 15.98 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01179, allocations: 0 / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.0118, allocations: 0 / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.0118, allocations: 0 / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0118, allocations: 4.969 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.01219, allocations: 208.5 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.0122, allocations: 11.89 kB / 0.8163 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.01222, allocations: 0 / 0.8163 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.01239, allocations: 13.02 kB / 0.8163 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.01243, allocations: 7.984 kB / 0.8163 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.01244, allocations: 5.125 kB / 0.8163 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.921e-05/0.01251, allocations: 92.77 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01251, allocations: 0 / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002636/0.01278, allocations: 28.83 kB / 0.8164 GB, free: 12.09 MB / 0.7761 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.0001266/0.0129, allocations: 96.81 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.0132, allocations: 79.86 kB / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01321, allocations: 1.688 kB / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01332, allocations: 31.98 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.01367, allocations: 32.73 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.01419, allocations: 202.1 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.01428, allocations: 80.56 kB / 0.8169 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.334e-05/0.01434, allocations: 8.219 kB / 0.8169 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.01438, allocations: 12.5 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.01438, allocations: 0 / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.004587/0.01897, allocations: 1.362 MB / 0.8183 GB, free: 10.2 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.720391366980039]