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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001252/0.001252, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001203/0.001203, allocations: 190.9 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.018/2.018, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 64.45 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2419, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002723/0.2447, allocations: 1.501 MB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.245, allocations: 127.7 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.2451, allocations: 0 / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.2451, allocations: 7.922 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.2452, allocations: 3.938 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.2455, allocations: 67.88 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2456, allocations: 63.78 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.2457, allocations: 15.98 kB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.2458, allocations: 27.91 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.2458, allocations: 27.92 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2458, allocations: 4 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.2459, allocations: 4 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.2459, allocations: 15.92 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.2459, allocations: 23.86 kB / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.246, allocations: 51.86 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.246, allocations: 0 / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.246, allocations: 0 / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2461, allocations: 0 / 0.953 GB, free: 6.117 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.0004864/0.2465, allocations: 379.3 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2466, allocations: 8.031 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.2466, allocations: 8.844 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2468, allocations: 176.2 kB / 0.9536 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.2468, allocations: 42.19 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.2469, allocations: 384 / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.2471, allocations: 74.16 kB / 0.9537 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2471, allocations: 7.938 kB / 0.9537 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.2471, allocations: 4 kB / 0.9537 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2471, allocations: 4 kB / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.2473, allocations: 43.95 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.2479, allocations: 316.6 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.248, allocations: 54.53 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.2481, allocations: 32.94 kB / 0.9541 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2481, allocations: 0 / 0.9541 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.2482, allocations: 30.56 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2482, allocations: 0 / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003245/0.2485, allocations: 105.6 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2485, allocations: 51.41 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.2487, allocations: 109.8 kB / 0.9544 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2487, allocations: 25.7 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.2487, allocations: 91.98 kB / 0.9545 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.2488, allocations: 15.81 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.2488, allocations: 21.7 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.2489, allocations: 322.8 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.249, allocations: 19.98 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.2491, allocations: 37.69 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.2492, allocations: 69.61 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2493, allocations: 0 / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001858/0.2494, allocations: 77.66 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2495, allocations: 4 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2495, allocations: 4 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2495, allocations: 0 / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2496, allocations: 15.92 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2496, allocations: 0 / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.2497, allocations: 8.031 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.2497, allocations: 8 kB / 0.9551 GB, free: 3.75 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 7.881e-05/0.2498, allocations: 119.7 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.2498, allocations: 3.906 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.2498, allocations: 7.906 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2498, allocations: 4 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2498, allocations: 0 / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2498, allocations: 3.938 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.25, allocations: 177.6 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.25, allocations: 4 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.2501, allocations: 15.98 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2501, allocations: 3.938 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2501, allocations: 4 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2501, allocations: 0 / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2501, allocations: 0 / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.2504, allocations: 179.4 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.2504, allocations: 84.95 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2504, allocations: 7.984 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2505, allocations: 11.98 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.2506, allocations: 288 / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.2506, allocations: 4 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001165/0.2507, allocations: 87.27 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2507, allocations: 0 / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002124/0.251, allocations: 8 kB / 0.9558 GB, free: 2.938 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.0001032/0.2511, allocations: 101.6 kB / 0.9559 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2513, allocations: 63.81 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2513, allocations: 0 / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.2514, allocations: 27.97 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.2516, allocations: 8.125 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.2519, allocations: 133.6 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.2522, allocations: 0.6883 MB / 0.9568 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.2522, allocations: 4.25 kB / 0.9568 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.2522, allocations: 7.438 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.2522, allocations: 0 / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of Templates: time 0.002789/0.255, allocations: 0.8071 MB / 0.9576 GB, free: 1.051 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 -s cvode -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