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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002556/0.002556, allocations: 219.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.216/3.216, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.58 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003246/0.3459, allocations: 1.525 MB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004225/0.3463, allocations: 123.7 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.3464, allocations: 4 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.3464, allocations: 3.938 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.3465, allocations: 3.938 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.3469, allocations: 74.27 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.3471, allocations: 59.91 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3472, allocations: 24.19 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.3473, allocations: 23.98 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.3474, allocations: 19.86 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.3474, allocations: 4 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.3474, allocations: 8 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.3474, allocations: 11.98 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.3475, allocations: 27.84 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.3476, allocations: 47.81 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3476, allocations: 0 / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3476, allocations: 0 / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.3476, allocations: 8 kB / 1.347 GB, free: 13.98 MB / 1.045 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.0006057/0.3482, allocations: 294.2 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3483, allocations: 8.031 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.61e-05/0.3483, allocations: 4.125 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.3484, allocations: 38.75 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.3484, allocations: 12.83 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3486, allocations: 118.5 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3487, allocations: 59.97 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3487, allocations: 4.375 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.3489, allocations: 103.5 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3489, allocations: 0 / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.349, allocations: 4 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.349, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.3492, allocations: 51.89 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/0.3499, allocations: 275.8 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.35, allocations: 46.55 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3502, allocations: 28.94 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3502, allocations: 3.938 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.3502, allocations: 30.56 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3502, allocations: 4 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004298/0.3506, allocations: 105.8 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3507, allocations: 55.41 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3508, allocations: 105.8 kB / 1.348 GB, free: 12.47 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3508, allocations: 33.64 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.3509, allocations: 88.14 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.3509, allocations: 11.84 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.351, allocations: 21.7 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3511, allocations: 318.8 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3512, allocations: 23.92 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3513, allocations: 37.69 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3515, allocations: 61.67 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3515, allocations: 0 / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000228/0.3517, allocations: 85.55 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3518, allocations: 4 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3518, allocations: 0 / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3518, allocations: 8.031 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3519, allocations: 15.98 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3519, allocations: 0 / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.352, allocations: 4.125 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.352, allocations: 8.312 kB / 1.349 GB, free: 11.72 MB / 1.045 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 0.0001311/0.3521, allocations: 121.8 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.3521, allocations: 7.891 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.3522, allocations: 4 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3522, allocations: 4 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3522, allocations: 4 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.3522, allocations: 3.938 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3524, allocations: 140.8 kB / 1.349 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3524, allocations: 7.984 kB / 1.349 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.3525, allocations: 8 kB / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3525, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3525, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3525, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3525, allocations: 0 / 1.349 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.3528, allocations: 183.4 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.3528, allocations: 3.953 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.3528, allocations: 4 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3529, allocations: 11.98 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.353, allocations: 7.984 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.353, allocations: 0 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.353, allocations: 91.27 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.353, allocations: 3.938 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002331/0.3533, allocations: 11.94 kB / 1.35 GB, free: 11.04 MB / 1.045 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.0007303/0.354, allocations: 0.7008 MB / 1.35 GB, free: 10.31 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3542, allocations: 59.83 kB / 1.35 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3542, allocations: 0 / 1.35 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.851e-05/0.3543, allocations: 23.97 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3547, allocations: 8.328 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3565, allocations: 1.333 MB / 1.352 GB, free: 8.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.236e-05/0.3566, allocations: 71.33 kB / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.3566, allocations: 8 kB / 1.352 GB, free: 8.703 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.3567, allocations: 11.44 kB / 1.352 GB, free: 8.691 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.3567, allocations: 0 / 1.352 GB, free: 8.691 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.3784, allocations: 1.998 MB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 4.062 kB / 1.354 GB, free: 6.844 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.889130700030364]