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.001536/0.001536, allocations: 107.5 kB / 16.36 MB, free: 5.824 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.001604/0.001604, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 70.5 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3171, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.00297/0.3201, allocations: 1.503 MB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003645/0.3205, allocations: 127.6 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.3206, allocations: 3.938 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.3206, allocations: 7.922 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.945e-05/0.3207, allocations: 11.86 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.321, allocations: 67.89 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3211, allocations: 67.77 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3213, allocations: 19.98 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.3213, allocations: 27.92 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.3214, allocations: 15.92 kB / 1.029 GB, free: 224 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.3214, allocations: 4 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.3214, allocations: 8 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.3215, allocations: 19.91 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.3215, allocations: 27.86 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3216, allocations: 55.84 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3216, allocations: 0 / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3216, allocations: 0 / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.3217, allocations: 0 / 1.029 GB, free: 108 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.0005265/0.3222, allocations: 367.4 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3222, allocations: 12.03 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.3223, allocations: 4.844 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3224, allocations: 172.3 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/0.3225, allocations: 30.27 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.3225, allocations: 12.31 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.3227, allocations: 74.16 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3227, allocations: 3.938 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3228, allocations: 4 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3228, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.3229, allocations: 43.95 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.3236, allocations: 324.6 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3237, allocations: 46.55 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/0.3238, allocations: 32.92 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3238, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3238, allocations: 30.56 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.3239, allocations: 4 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.00037/0.3242, allocations: 101.6 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3243, allocations: 51.41 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.3244, allocations: 121.8 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3244, allocations: 25.7 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.3245, allocations: 92.08 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.3245, allocations: 11.8 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.3245, allocations: 25.72 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3247, allocations: 318.8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.3248, allocations: 23.97 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/0.3249, allocations: 37.64 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3251, allocations: 61.61 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3251, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002024/0.3253, allocations: 81.66 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3253, allocations: 8 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3253, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3253, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.3254, allocations: 15.92 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3254, allocations: 8.031 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.3255, allocations: 11.89 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3255, allocations: 0 / 1.031 GB, free: 13.75 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 8.513e-05/0.3256, allocations: 121.7 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3256, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.3257, allocations: 11.91 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3257, allocations: 128 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3257, allocations: 4 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3257, allocations: 7.938 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.3259, allocations: 177.6 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3259, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.326, allocations: 11.98 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.326, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.326, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.326, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.326, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3263, allocations: 187.3 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.3263, allocations: 85.03 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3264, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3265, allocations: 11.98 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3265, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.3266, allocations: 8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.3266, allocations: 87.27 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3266, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002238/0.3269, allocations: 16 kB / 1.031 GB, free: 12.94 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 9.844e-05/0.327, allocations: 95.25 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.3272, allocations: 56.11 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3272, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.3273, allocations: 28.06 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.3275, allocations: 8.156 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.3278, allocations: 137.5 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3281, allocations: 0.6846 MB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.749e-05/0.3282, allocations: 4.25 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.3282, allocations: 11.44 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3282, allocations: 8 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.002765/0.331, allocations: 0.7917 MB / 1.033 GB, free: 11.07 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 gbode -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