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.001877/0.001877, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002118/0.002118, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.347/3.347, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.302e-06/1.302e-06, allocations: 0 / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.514e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002733/0.002758, allocations: 1.526 MB / 0.8789 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.003098, allocations: 137 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.003139, allocations: 0 / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.003161, allocations: 6.594 kB / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.003226, allocations: 6.781 kB / 0.8791 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.003515, allocations: 67.84 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.003642, allocations: 63.77 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.003728, allocations: 11.98 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.003812, allocations: 37.83 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.003871, allocations: 15.92 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.003899, allocations: 4 kB / 0.8792 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.003917, allocations: 8 kB / 0.8793 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.003944, allocations: 11.98 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.003982, allocations: 24.62 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004114, allocations: 59.84 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004115, allocations: 1.656 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.8e-07/0.004116, allocations: 0 / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004119, allocations: 0 / 0.8793 GB, free: 4.719 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005608/0.00468, allocations: 392.6 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.004716, allocations: 12.03 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.004772, allocations: 14.73 kB / 0.8797 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.004903, allocations: 116.5 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.789e-05/0.004991, allocations: 59.89 kB / 0.8799 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.00501, allocations: 12.36 kB / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.005214, allocations: 92.53 kB / 0.88 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.005222, allocations: 192 / 0.88 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.005233, allocations: 1.312 kB / 0.88 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.005242, allocations: 4.125 kB / 0.88 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.005587, allocations: 37.56 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.006181, allocations: 303.7 kB / 0.8803 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.006307, allocations: 51.05 kB / 0.8804 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.006384, allocations: 27.77 kB / 0.8804 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.006403, allocations: 3.938 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.00644, allocations: 37.39 kB / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.006441, allocations: 0 / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003113/0.006752, allocations: 85.56 kB / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.006797, allocations: 55.41 kB / 0.8806 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.00694, allocations: 169.9 kB / 0.8808 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.006967, allocations: 37.69 kB / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.00706, allocations: 134.9 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.007083, allocations: 19.84 kB / 0.8809 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.007129, allocations: 23.38 kB / 0.881 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002527/0.007382, allocations: 0.4884 MB / 0.8814 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.007449, allocations: 15.98 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.007524, allocations: 31.38 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.007666, allocations: 59.28 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007668, allocations: 128 / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.00785, allocations: 89.52 kB / 0.8816 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.007863, allocations: 6.5 kB / 0.8816 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.007871, allocations: 3.984 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.007886, allocations: 4 kB / 0.8816 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.007967, allocations: 8 kB / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.007971, allocations: 0 / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.008011, allocations: 4 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.008016, allocations: 320 / 0.8817 GB, free: 2.125 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 (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 0.0001187/0.008135, allocations: 164.6 kB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.008166, allocations: 11.94 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.008191, allocations: 8 kB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.008192, allocations: 3.938 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.008195, allocations: 0 / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.008197, allocations: 240 / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.008368, allocations: 132.6 kB / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.008369, allocations: 0 / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.008432, allocations: 19.91 kB / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.008436, allocations: 3.938 kB / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.008442, allocations: 0 / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008443, allocations: 4 kB / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.008444, allocations: 0 / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.008707, allocations: 215.9 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.00872, allocations: 7.953 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008734, allocations: 3.938 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.008834, allocations: 7.984 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.008867, allocations: 0 / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.00888, allocations: 8 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.008961, allocations: 135.2 kB / 0.8823 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008961, allocations: 0 / 0.8823 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002121/0.009173, allocations: 16 kB / 0.8824 GB, free: 1.332 MB / 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 (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 0.0001154/0.009289, allocations: 95.19 kB / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.009484, allocations: 51.66 kB / 0.8825 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009485, allocations: 0 / 0.8825 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.009561, allocations: 27.67 kB / 0.8825 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.009798, allocations: 4 kB / 0.8825 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.01014, allocations: 150.1 kB / 0.8827 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.914e-05/0.01022, allocations: 75.27 kB / 0.8827 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.01026, allocations: 0 / 0.8827 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.01029, allocations: 16.5 kB / 0.8828 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.01029, allocations: 0 / 0.8828 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of Templates: time 0.003638/0.01393, allocations: 0.8613 MB / 0.8836 GB, free: 8 kB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] 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: 8.287961081950925]