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.001484/0.001484, allocations: 75.2 kB / 19.18 MB, free: 2.539 MB / 14.72 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.001697/0.001697, allocations: 172.7 kB / 22.46 MB, free: 5.348 MB / 14.72 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.053/3.053, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] 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.784e-06/1.784e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.055e-05, allocations: 6.219 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003144/0.003175, allocations: 1.523 MB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.003573, allocations: 135.5 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.003646, allocations: 0 / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.003676, allocations: 7.938 kB / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.003748, allocations: 3.938 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.004092, allocations: 61.89 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.004244, allocations: 67.72 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.004351, allocations: 11.98 kB / 1.002 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004455, allocations: 39.95 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.004513, allocations: 15.92 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.00454, allocations: 4 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.828e-05/0.004558, allocations: 8 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.004587, allocations: 11.98 kB / 1.002 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.004627, allocations: 23.91 kB / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004778, allocations: 55.84 kB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004781, allocations: 4 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.242e-06/0.004782, allocations: 0 / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.004787, allocations: 0 / 1.002 GB, free: 5.34 MB / 0.9512 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.000577/0.005364, allocations: 302.1 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.005418, allocations: 11.98 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.005469, allocations: 4.938 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.005613, allocations: 117.7 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/0.005712, allocations: 55.97 kB / 1.002 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.005725, allocations: 8.25 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.005989, allocations: 99.92 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.006, allocations: 4.172 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.006014, allocations: 384 / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.006021, allocations: 8.125 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.006217, allocations: 43.95 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.006862, allocations: 256.5 kB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.007027, allocations: 54.42 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.007133, allocations: 28.94 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.00715, allocations: 3.938 kB / 1.003 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.007179, allocations: 30.56 kB / 1.003 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.00718, allocations: 0 / 1.003 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000395/0.007575, allocations: 105.6 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.007638, allocations: 55.41 kB / 1.003 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.007732, allocations: 109.8 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.007754, allocations: 25.7 kB / 1.003 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.007814, allocations: 92.09 kB / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.007833, allocations: 15.83 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.007873, allocations: 17.72 kB / 1.003 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.008022, allocations: 314.8 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.008126, allocations: 27.97 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.008229, allocations: 33.7 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.008423, allocations: 61.61 kB / 1.004 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008425, allocations: 4 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002406/0.008665, allocations: 85.62 kB / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.008679, allocations: 4 kB / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.008684, allocations: 0 / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.008699, allocations: 0 / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.008806, allocations: 19.98 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.008812, allocations: 3.938 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.008871, allocations: 7.953 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.00888, allocations: 7.984 kB / 1.004 GB, free: 3.156 MB / 0.9512 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 9.418e-05/0.008974, allocations: 110.4 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.009008, allocations: 11.94 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.009032, allocations: 4 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.009033, allocations: 0 / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.009041, allocations: 7.938 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.009043, allocations: 0 / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.009206, allocations: 113.3 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009207, allocations: 240 / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.009281, allocations: 11.98 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.009285, allocations: 3.938 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.009292, allocations: 0 / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.009295, allocations: 4 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.0093, allocations: 7.984 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.009597, allocations: 179.4 kB / 1.004 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.009607, allocations: 4 kB / 1.004 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.009623, allocations: 3.938 kB / 1.004 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.009759, allocations: 11.98 kB / 1.004 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.0098, allocations: 3.938 kB / 1.004 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.009815, allocations: 7.984 kB / 1.004 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.009871, allocations: 83.28 kB / 1.004 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.009871, allocations: 4 kB / 1.005 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002358/0.01011, allocations: 12 kB / 1.005 GB, free: 2.523 MB / 0.9512 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.0001393/0.01025, allocations: 99.23 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.01049, allocations: 51.89 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.01049, allocations: 0 / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.01058, allocations: 23.98 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.01089, allocations: 6.094 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.01125, allocations: 144.6 kB / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.689e-05/0.01132, allocations: 67.34 kB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.01136, allocations: 0 / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.01139, allocations: 12.5 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.01139, allocations: 0 / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of Templates: time 0.003677/0.01507, allocations: 0.8409 MB / 1.006 GB, free: 1.246 MB / 0.9512 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: 8.354084052145481]