Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.0008141/0.0008141, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0007971/0.0007971, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.9054/0.9054, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.749/1.749, allocations: 377.9 MB / 0.6229 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.983e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001757/0.001777, allocations: 1.511 MB / 0.9837 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000258/0.002035, allocations: 123.5 kB / 0.9838 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.002076, allocations: 4 kB / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.002105, allocations: 11.92 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.002157, allocations: 7.922 kB / 0.9838 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.002425, allocations: 63.91 kB / 0.9839 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.002524, allocations: 63.77 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.002618, allocations: 12 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.002682, allocations: 31.91 kB / 0.984 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.002735, allocations: 23.95 kB / 0.984 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.00276, allocations: 4 kB / 0.984 GB, free: 272 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.002772, allocations: 4 kB / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.002792, allocations: 19.92 kB / 0.984 GB, free: 248 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.002815, allocations: 12 kB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.002924, allocations: 71.75 kB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002925, allocations: 3.938 kB / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002926, allocations: 0 / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.00293, allocations: 0 / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003976/0.003328, allocations: 290.2 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.003362, allocations: 12.03 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.003401, allocations: 8.891 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/0.003477, allocations: 117.7 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.003539, allocations: 59.97 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.00355, allocations: 8.312 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.003696, allocations: 95.92 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.003703, allocations: 192 / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.003716, allocations: 4.375 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.003721, allocations: 4.125 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.794e-05/0.003819, allocations: 55.89 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.004204, allocations: 248.5 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.004287, allocations: 42.5 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.004338, allocations: 28.92 kB / 0.985 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.004349, allocations: 7.938 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.004368, allocations: 34.56 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.004369, allocations: 4 kB / 0.9851 GB, free: 15.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002213/0.004591, allocations: 101.5 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.004617, allocations: 51.41 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.004682, allocations: 117.9 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.004696, allocations: 25.7 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.004736, allocations: 92.12 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.004752, allocations: 11.84 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.00478, allocations: 17.72 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.004859, allocations: 322.8 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.004904, allocations: 19.98 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.004956, allocations: 37.69 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.162e-05/0.005048, allocations: 53.62 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005049, allocations: 0 / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.005166, allocations: 93.55 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.005177, allocations: 8 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.005183, allocations: 3.984 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.005195, allocations: 0 / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.005259, allocations: 12 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.005263, allocations: 3.938 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.005289, allocations: 7.984 kB / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.005293, allocations: 0 / 0.986 GB, free: 13.99 MB / 0.948 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 (5): * Single equations (assignments): 5 * 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.744e-05/0.005351, allocations: 113.8 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.005369, allocations: 15.92 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.005386, allocations: 15.92 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005387, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.005391, allocations: 0 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005393, allocations: 128 / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.582e-05/0.005489, allocations: 117.3 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00549, allocations: 0 / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.005519, allocations: 15.98 kB / 0.9863 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.005522, allocations: 7.875 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.005527, allocations: 0 / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.005527, allocations: 4 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005528, allocations: 0 / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.005663, allocations: 171.7 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-06/0.005672, allocations: 11.98 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.005683, allocations: 3.938 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.005745, allocations: 11.98 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.005776, allocations: 7.984 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.005782, allocations: 0 / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.005815, allocations: 91.27 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005815, allocations: 4 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001474/0.005963, allocations: 8 kB / 0.9866 GB, free: 13.35 MB / 0.948 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 (4): * Single equations (assignments): 4 * 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.653e-05/0.006029, allocations: 95.25 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.006159, allocations: 51.89 kB / 0.9867 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00616, allocations: 0 / 0.9867 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.006208, allocations: 27.97 kB / 0.9867 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.006394, allocations: 8.062 kB / 0.9867 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.006644, allocations: 162.4 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.006689, allocations: 75.33 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.006714, allocations: 8.5 kB / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of SimCode: time 3.5e-07/0.006714, allocations: 0 / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of Templates: time 0.00169/0.008404, allocations: 0.8724 MB / 0.9878 GB, free: 11.99 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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: 6.55224628187716]