Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008532/0.0008532, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008762/0.0008762, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.869/0.869, allocations: 177.2 MB / 203.5 MB, free: 5.711 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 1.757/1.757, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.004e-05, allocations: 5.516 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002016/0.002046, allocations: 1.502 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.002331, allocations: 124.3 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.002375, allocations: 4 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.002405, allocations: 7.922 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.002458, allocations: 7.875 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.002746, allocations: 79.12 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.002847, allocations: 59.83 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.002949, allocations: 15.98 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.003015, allocations: 31.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.00307, allocations: 23.95 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.003095, allocations: 4 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.003105, allocations: 4 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.003128, allocations: 15.92 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.003152, allocations: 8 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.003275, allocations: 71.7 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003278, allocations: 4 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.383e-06/0.003279, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.003284, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 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.0004081/0.003693, allocations: 294.2 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.003731, allocations: 12.03 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.00377, allocations: 4.938 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.003851, allocations: 117.7 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.003924, allocations: 55.97 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.003934, allocations: 4.375 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.004092, allocations: 107.9 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.004099, allocations: 192 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.004112, allocations: 384 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004118, allocations: 8.062 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.926e-05/0.004217, allocations: 47.95 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.004635, allocations: 256.4 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.816e-05/0.004723, allocations: 46.5 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.004774, allocations: 28.92 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.004785, allocations: 7.938 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.004807, allocations: 30.56 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.004808, allocations: 0 / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002295/0.005037, allocations: 97.64 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.005068, allocations: 55.39 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.005138, allocations: 109.8 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.005154, allocations: 33.69 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.005196, allocations: 84.09 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.005213, allocations: 23.91 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.005242, allocations: 25.59 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.005315, allocations: 314.8 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.005364, allocations: 19.98 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/0.005418, allocations: 41.69 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.328e-05/0.005511, allocations: 53.88 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005513, allocations: 0 / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001202/0.005633, allocations: 89.52 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.005648, allocations: 11.98 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.005652, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005664, allocations: 4.031 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.005729, allocations: 12 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.005735, allocations: 3.984 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.005767, allocations: 11.94 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.005771, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 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 6.101e-05/0.005832, allocations: 113.8 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.005851, allocations: 15.83 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.005873, allocations: 7.984 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005876, allocations: 0 / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.005881, allocations: 4 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005883, allocations: 0 / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.865e-05/0.005982, allocations: 117.3 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005983, allocations: 0 / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.006014, allocations: 11.98 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.006017, allocations: 3.938 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.006023, allocations: 0 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006024, allocations: 0 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006025, allocations: 128 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.006179, allocations: 179.5 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.006187, allocations: 8 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.006199, allocations: 7.922 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.006263, allocations: 7.984 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.006297, allocations: 7.938 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.006303, allocations: 0 / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.006336, allocations: 91.27 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006336, allocations: 0 / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001483/0.006484, allocations: 11.94 kB / 1.005 GB, free: 8.254 MB / 0.9636 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 9.039e-05/0.006575, allocations: 99.25 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.006711, allocations: 51.95 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.006712, allocations: 0 / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.006757, allocations: 27.91 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.00698, allocations: 9.969 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.007271, allocations: 166.4 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.00732, allocations: 71.39 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.007349, allocations: 12.5 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.00735, allocations: 0 / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of Templates: time 0.001751/0.009101, allocations: 0.871 MB / 1.007 GB, free: 6.895 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.322745949961245]