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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001428/0.001428, allocations: 109.2 kB / 16.37 MB, free: 6.016 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.001402/0.001402, allocations: 194.1 kB / 17.31 MB, free: 5.613 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.438/2.438, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 66.78 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00261/0.3396, allocations: 1.52 MB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003431/0.3399, allocations: 123.6 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.34, allocations: 0 / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.3401, allocations: 11.86 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/0.3401, allocations: 11.92 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.3405, allocations: 67.84 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3406, allocations: 63.83 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3407, allocations: 19.97 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.3408, allocations: 23.92 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.3409, allocations: 23.86 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.3409, allocations: 8 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.3409, allocations: 4 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.3409, allocations: 15.97 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.341, allocations: 27.86 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3411, allocations: 55.8 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3411, allocations: 0 / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3411, allocations: 4 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3411, allocations: 0 / 1.029 GB, free: 68 kB / 0.795 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.0005223/0.3417, allocations: 368.6 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3417, allocations: 8.031 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.3417, allocations: 8.844 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3419, allocations: 176.3 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/0.3419, allocations: 34.25 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.342, allocations: 4.375 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3422, allocations: 77.97 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3422, allocations: 0 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3422, allocations: 0 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3422, allocations: 0 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3424, allocations: 51.95 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.343, allocations: 316.6 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3431, allocations: 50.55 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.3432, allocations: 28.94 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.3432, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3432, allocations: 34.56 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3432, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000335/0.3436, allocations: 101.6 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3436, allocations: 51.41 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/0.3437, allocations: 117.8 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3437, allocations: 29.7 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.3438, allocations: 88.08 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3438, allocations: 11.81 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3438, allocations: 25.7 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.344, allocations: 318.8 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.344, allocations: 19.98 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.3441, allocations: 37.69 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3443, allocations: 69.72 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3443, allocations: 0 / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.3445, allocations: 89.62 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3445, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3445, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3446, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.3447, allocations: 20.05 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3447, allocations: 320 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.3447, allocations: 15.91 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3447, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 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.559e-05/0.3448, allocations: 125.7 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3449, allocations: 8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.3449, allocations: 3.906 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3449, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3449, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3449, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3451, allocations: 181.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3451, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.3451, allocations: 11.98 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3451, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.3452, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3452, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3452, allocations: 7.984 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.3454, allocations: 179.3 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3455, allocations: 85.05 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3455, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3456, allocations: 11.98 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3456, allocations: 7.984 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3457, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.3457, allocations: 91.27 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3457, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002142/0.3459, allocations: 8 kB / 1.031 GB, free: 12.91 MB / 0.8106 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.0001094/0.346, allocations: 103.2 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3463, allocations: 55.89 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3463, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.3464, allocations: 23.98 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3466, allocations: 7.984 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.347, allocations: 136.6 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3472, allocations: 0.6885 MB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.3472, allocations: 8.25 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.3473, allocations: 11.44 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of SimCode: time 1.653e-06/0.3473, allocations: 0 / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of Templates: time 0.002683/0.35, allocations: 0.8044 MB / 1.033 GB, free: 11.02 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches