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.001962/0.001962, allocations: 109.3 kB / 16.27 MB, free: 5.984 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.001829/0.001829, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.292/2.292, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.72 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3297, allocations: 140.4 MB / 0.9503 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003201/0.3329, allocations: 1.511 MB / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003866/0.3334, allocations: 123.7 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.3334, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.523e-05/0.3335, allocations: 3.938 kB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.3336, allocations: 7.922 kB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.334, allocations: 63.89 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.3341, allocations: 63.8 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3342, allocations: 19.97 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.3343, allocations: 27.92 kB / 0.952 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.3344, allocations: 19.91 kB / 0.952 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3344, allocations: 4 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.3345, allocations: 8 kB / 0.9521 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.3345, allocations: 15.92 kB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.3345, allocations: 23.92 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3347, allocations: 55.8 kB / 0.9521 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3347, allocations: 4 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3347, allocations: 0 / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3347, allocations: 0 / 0.9522 GB, free: 6.973 MB / 0.7325 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.0005596/0.3353, allocations: 371.6 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3353, allocations: 12.03 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.3354, allocations: 4.844 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3355, allocations: 172.3 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/0.3356, allocations: 30.27 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3356, allocations: 16.36 kB / 0.9527 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.3358, allocations: 70.16 kB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3359, allocations: 3.938 kB / 0.9528 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3359, allocations: 4 kB / 0.9528 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3359, allocations: 0 / 0.9528 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.3361, allocations: 43.95 kB / 0.9528 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.3367, allocations: 320.7 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3369, allocations: 50.48 kB / 0.9532 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.337, allocations: 32.92 kB / 0.9532 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.337, allocations: 4 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.337, allocations: 30.56 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.337, allocations: 0 / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003863/0.3374, allocations: 93.64 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3375, allocations: 63.34 kB / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.3376, allocations: 113.8 kB / 0.9535 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3376, allocations: 25.7 kB / 0.9535 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.3377, allocations: 99.97 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.3377, allocations: 11.88 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3377, allocations: 17.72 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3379, allocations: 330.8 kB / 0.954 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.338, allocations: 19.92 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3381, allocations: 41.69 kB / 0.954 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3382, allocations: 49.69 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3383, allocations: 128 / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002232/0.3385, allocations: 89.59 kB / 0.9542 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3385, allocations: 12.03 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3385, allocations: 0 / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3385, allocations: 0 / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3387, allocations: 15.98 kB / 0.9542 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.3387, allocations: 0 / 0.9542 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.3387, allocations: 11.92 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.3387, allocations: 0 / 0.9542 GB, free: 4.613 MB / 0.7325 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 8.327e-05/0.3388, allocations: 117.8 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3389, allocations: 3.906 kB / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.3389, allocations: 16.14 kB / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3389, allocations: 0 / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.3389, allocations: 7.969 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3389, allocations: 0 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.3391, allocations: 173.6 kB / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3391, allocations: 3.984 kB / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.3392, allocations: 8 kB / 0.9545 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3392, allocations: 0 / 0.9545 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3392, allocations: 0 / 0.9545 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3392, allocations: 0 / 0.9545 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3392, allocations: 4 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3395, allocations: 183.4 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.3395, allocations: 84.95 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3396, allocations: 4 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.3397, allocations: 7.984 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3397, allocations: 8 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3398, allocations: 7.984 kB / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.3398, allocations: 83.28 kB / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3398, allocations: 0 / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002326/0.3401, allocations: 12 kB / 0.9549 GB, free: 3.801 MB / 0.7325 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.0001155/0.3402, allocations: 99.23 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3404, allocations: 59.83 kB / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3405, allocations: 7.875 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.3406, allocations: 23.98 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3409, allocations: 8 kB / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.3413, allocations: 163.2 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3415, allocations: 0.6918 MB / 0.9559 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.3416, allocations: 11.44 kB / 0.9559 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.3416, allocations: 0 / 0.9559 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.00234/0.3439, allocations: 0.8573 MB / 0.9568 GB, free: 1.828 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches