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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001401/0.001401, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.7 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.97 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.312, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002598/0.3147, allocations: 1.504 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.315, allocations: 123.7 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.315, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.3151, allocations: 3.938 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.186e-05/0.3151, allocations: 11.92 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.3154, allocations: 75.77 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.748e-05/0.3155, allocations: 55.91 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.3156, allocations: 12 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.3157, allocations: 31.91 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.3158, allocations: 19.91 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3158, allocations: 4 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.3158, allocations: 12 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.3158, allocations: 15.92 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.3159, allocations: 23.86 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.879e-05/0.316, allocations: 47.86 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.316, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.316, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.316, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 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.0004765/0.3165, allocations: 375.7 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3165, allocations: 16.03 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3166, allocations: 4.844 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.3167, allocations: 180.2 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.3167, allocations: 30.27 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3168, allocations: 384 / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.317, allocations: 78.2 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.317, allocations: 3.938 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.317, allocations: 7.984 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.317, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3172, allocations: 47.95 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.3178, allocations: 316.7 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3179, allocations: 50.5 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.318, allocations: 32.92 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.3181, allocations: 0 / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.3181, allocations: 30.56 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3181, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003615/0.3185, allocations: 105.5 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3185, allocations: 55.41 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.3186, allocations: 109.8 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3186, allocations: 25.7 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.3187, allocations: 96.06 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.3187, allocations: 11.75 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3187, allocations: 17.72 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.3188, allocations: 322.8 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.3189, allocations: 19.98 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.744e-05/0.319, allocations: 45.69 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3192, allocations: 53.62 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3192, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002212/0.3194, allocations: 89.5 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3195, allocations: 8 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3195, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3195, allocations: 3.984 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.3196, allocations: 12 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3196, allocations: 4 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.3197, allocations: 8.219 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3197, allocations: 4.031 kB / 1.072 GB, free: 6.133 MB / 0.8262 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.169e-05/0.3198, allocations: 119.5 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3198, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.3198, allocations: 15.88 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3198, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3198, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3198, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.32, allocations: 181.6 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.32, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.3201, allocations: 12 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3201, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3201, allocations: 0 / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3201, allocations: 7.875 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3201, allocations: 3.984 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3204, allocations: 183.4 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3204, allocations: 81.05 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3205, allocations: 4 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3206, allocations: 11.98 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3206, allocations: 3.984 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3207, allocations: 4 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.3207, allocations: 87.36 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3207, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002316/0.3209, allocations: 11.91 kB / 1.073 GB, free: 5.32 MB / 0.8262 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.0001039/0.3211, allocations: 107.8 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3213, allocations: 55.83 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3213, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.24e-05/0.3214, allocations: 23.98 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.3217, allocations: 9.625 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.322, allocations: 145.4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.3222, allocations: 0.6807 MB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.3223, allocations: 4.25 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.3223, allocations: 11.44 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3223, allocations: 4 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.002798/0.3251, allocations: 0.8042 MB / 1.075 GB, free: 3.434 MB / 0.8262 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches