Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 193.4 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.774/2.774, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.89 kB / 1.109 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8701/0.8721, allocations: 168.7 MB / 1.274 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002903/0.875, allocations: 1.519 MB / 1.276 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003223/0.8753, allocations: 127.6 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.8753, allocations: 4 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.8754, allocations: 3.938 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.8754, allocations: 3.938 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.8757, allocations: 71.88 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.8759, allocations: 59.78 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.876, allocations: 15.98 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.876, allocations: 27.91 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.8761, allocations: 23.92 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.8761, allocations: 4 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.8761, allocations: 8 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.8762, allocations: 11.98 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.8762, allocations: 27.84 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.8763, allocations: 58.47 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.8763, allocations: 0 / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8763, allocations: 0 / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8763, allocations: 0 / 1.276 GB, free: 2.625 MB / 0.9669 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.000588/0.8769, allocations: 367.3 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.877, allocations: 12.03 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.877, allocations: 8.891 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.8772, allocations: 184.2 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/0.8772, allocations: 30.27 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.8773, allocations: 4.375 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.8775, allocations: 70.22 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.8775, allocations: 3.938 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.8775, allocations: 4 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.8775, allocations: 8 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.8777, allocations: 43.95 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.8783, allocations: 312.7 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.8785, allocations: 50.55 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.8786, allocations: 24.94 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.8786, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.8786, allocations: 38.55 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.8786, allocations: 3.938 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003939/0.879, allocations: 105.5 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.8791, allocations: 55.41 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.8792, allocations: 109.8 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.8792, allocations: 25.7 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.8793, allocations: 88.14 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.8793, allocations: 15.83 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.8794, allocations: 17.72 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8795, allocations: 318.8 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.8796, allocations: 27.97 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.8797, allocations: 33.7 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.8799, allocations: 57.8 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8799, allocations: 0 / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002393/0.8801, allocations: 93.59 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.8801, allocations: 8 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.8802, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8802, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.8803, allocations: 15.92 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.8803, allocations: 4.312 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.8803, allocations: 8.109 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.8803, allocations: 4 kB / 1.278 GB, free: 280 kB / 0.9669 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.000106/0.8805, allocations: 121.8 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.8805, allocations: 3.953 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.8805, allocations: 11.91 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.8805, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8805, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8805, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.8808, allocations: 181.6 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8808, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.8808, allocations: 11.98 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8808, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.8808, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.8808, allocations: 3.984 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8808, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.8811, allocations: 179.4 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.8812, allocations: 85.05 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.8812, allocations: 4 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.8813, allocations: 11.98 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.8814, allocations: 8 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.8814, allocations: 3.938 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.704e-05/0.8814, allocations: 91.27 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8814, allocations: 0 / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002274/0.8817, allocations: 15.88 kB / 1.279 GB, free: 15.45 MB / 0.9825 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.0001504/0.8818, allocations: 98.59 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.8821, allocations: 59.83 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8821, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.8822, allocations: 27.97 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.8825, allocations: 6.188 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.8829, allocations: 141.4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.8833, allocations: 0.6885 MB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.8833, allocations: 4 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.8834, allocations: 11.44 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8834, allocations: 3.938 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of Templates: time 0.003715/0.8871, allocations: 0.816 MB / 1.281 GB, free: 13.55 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.856639670208097]