Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00136/0.00136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001392/0.001392, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 437 MB / 0.7101 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.09 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6165/0.6185, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003048/0.6216, allocations: 1.554 MB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.6219, allocations: 135.6 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.622, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.622, allocations: 3.984 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.6221, allocations: 11.88 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.6224, allocations: 57.17 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.6225, allocations: 55.91 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6226, allocations: 15.92 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.6227, allocations: 31.92 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.6227, allocations: 23.91 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.6228, allocations: 4 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.6228, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.6228, allocations: 23.91 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.6229, allocations: 19.88 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.623, allocations: 59.84 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.623, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.573e-06/0.623, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.623, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 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.0006069/0.6236, allocations: 377.2 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6237, allocations: 15.92 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.6237, allocations: 4.938 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.6239, allocations: 176.2 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.624, allocations: 30.27 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.624, allocations: 4.359 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.6242, allocations: 78.16 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.6242, allocations: 7.938 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6242, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6243, allocations: 4 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.6245, allocations: 44 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.6251, allocations: 328.5 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.6252, allocations: 50.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.6254, allocations: 32.92 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.6254, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6254, allocations: 30.56 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.6254, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003746/0.6258, allocations: 93.64 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.6258, allocations: 51.41 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.6259, allocations: 117.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.626, allocations: 25.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.6261, allocations: 92.03 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.6261, allocations: 15.75 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.6261, allocations: 21.72 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6263, allocations: 322.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.6264, allocations: 19.98 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.752e-05/0.6265, allocations: 37.69 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.6267, allocations: 57.69 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6267, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002188/0.6269, allocations: 85.59 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6269, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6269, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.627, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.6271, allocations: 11.98 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.6271, allocations: 4.031 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.6272, allocations: 7.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.6272, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 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 9.985e-05/0.6273, allocations: 121.7 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.6273, allocations: 3.906 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.6274, allocations: 8.141 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6274, allocations: 7.984 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6274, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6274, allocations: 7.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.6276, allocations: 173.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6276, allocations: 3.984 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.6277, allocations: 8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6277, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.6277, allocations: 3.938 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6277, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6277, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.628, allocations: 183.4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.6281, allocations: 84.95 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6281, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.6282, allocations: 11.98 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.6283, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.6283, allocations: 7.984 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.6284, allocations: 83.28 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6284, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002273/0.6286, allocations: 12 kB / 1.022 GB, free: 13.65 MB / 0.7794 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.0001266/0.6287, allocations: 103.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.629, allocations: 51.89 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.629, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.6291, allocations: 23.98 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.6294, allocations: 12.19 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.6298, allocations: 149.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.6301, allocations: 0.6846 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.6302, allocations: 8.25 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.6302, allocations: 11.44 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6302, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.003199/0.6334, allocations: 0.7442 MB / 1.023 GB, free: 11.81 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches