Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000974/0.0009741, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009877/0.009877, allocations: 173.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.579/2.579, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.8723, allocations: 142.4 MB / 0.955 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002391/0.8747, allocations: 1.215 MB / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.8751, allocations: 123.9 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.8752, allocations: 1.312 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.8753, allocations: 7.922 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.614e-05/0.8753, allocations: 5.359 kB / 0.9564 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.8757, allocations: 69.97 kB / 0.9564 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.8759, allocations: 56.25 kB / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.876, allocations: 18.92 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.8761, allocations: 18.8 kB / 0.9565 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.8762, allocations: 21.45 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.8762, allocations: 2.156 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.727e-05/0.8763, allocations: 2.25 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.8763, allocations: 6.047 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.8763, allocations: 51.58 kB / 0.9566 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.8765, allocations: 52.17 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8765, allocations: 1.125 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8765, allocations: 0 / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8765, allocations: 0 / 0.9566 GB, free: 6.469 MB / 0.7169 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.0005425/0.877, allocations: 366 kB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.8771, allocations: 9.75 kB / 0.957 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.8772, allocations: 12.22 kB / 0.957 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.8773, allocations: 178.4 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.8774, allocations: 38.53 kB / 0.9572 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.8775, allocations: 2.594 kB / 0.9572 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.8777, allocations: 77.38 kB / 0.9573 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.8778, allocations: 3.938 kB / 0.9573 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.8778, allocations: 8 kB / 0.9573 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.8778, allocations: 1.938 kB / 0.9573 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.878, allocations: 54.89 kB / 0.9574 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.8788, allocations: 331.4 kB / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.879, allocations: 54.2 kB / 0.9577 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.8791, allocations: 35.84 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.8791, allocations: 5.141 kB / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.8792, allocations: 32 kB / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.8792, allocations: 0 / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004874/0.8797, allocations: 123.7 kB / 0.9579 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.8797, allocations: 52.62 kB / 0.958 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.8798, allocations: 106.8 kB / 0.9581 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.8798, allocations: 31.17 kB / 0.9581 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.8799, allocations: 85.95 kB / 0.9582 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.8799, allocations: 17.11 kB / 0.9582 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.88, allocations: 15.14 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.88, allocations: 320.5 kB / 0.9585 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.964e-05/0.8801, allocations: 20.45 kB / 0.9585 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.8803, allocations: 48.06 kB / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.8805, allocations: 69.16 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8805, allocations: 0 / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002541/0.8807, allocations: 99.8 kB / 0.9587 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.8808, allocations: 5.094 kB / 0.9587 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8808, allocations: 5.062 kB / 0.9587 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8808, allocations: 5.219 kB / 0.9588 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.8809, allocations: 20.17 kB / 0.9588 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8809, allocations: 0 / 0.9588 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.881, allocations: 7.75 kB / 0.9588 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.881, allocations: 1.781 kB / 0.9588 GB, free: 4.445 MB / 0.7169 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 7.021e-05/0.8811, allocations: 115.3 kB / 0.9589 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.8811, allocations: 14.98 kB / 0.9589 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.8812, allocations: 9.406 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8812, allocations: 0 / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8812, allocations: 0 / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.8812, allocations: 1.438 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.8814, allocations: 182.6 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8814, allocations: 1.688 kB / 0.9591 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/0.8814, allocations: 14.39 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.8815, allocations: 0 / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.8815, allocations: 1.531 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8815, allocations: 4 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8815, allocations: 0 / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.8817, allocations: 187.4 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.8818, allocations: 82.86 kB / 0.9594 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.8818, allocations: 1.781 kB / 0.9594 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.8819, allocations: 18.67 kB / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.882, allocations: 5.797 kB / 0.9594 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.882, allocations: 1.781 kB / 0.9594 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.882, allocations: 88.64 kB / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.882, allocations: 0 / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002341/0.8823, allocations: 20.19 kB / 0.9595 GB, free: 3.707 MB / 0.7169 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.856e-05/0.8824, allocations: 95.28 kB / 0.9596 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.8826, allocations: 67.61 kB / 0.9597 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8826, allocations: 64 / 0.9597 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.8827, allocations: 32.61 kB / 0.9597 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.883, allocations: 6.922 kB / 0.9597 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.8834, allocations: 158.7 kB / 0.9598 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.8835, allocations: 0.6864 MB / 0.9605 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.8836, allocations: 2.75 kB / 0.9605 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.8836, allocations: 10.19 kB / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.8836, allocations: 0 / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of Templates: time 0.003248/0.8869, allocations: 0.7118 MB / 0.9612 GB, free: 2.34 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches