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.001861/0.001861, allocations: 104 kB / 16.45 MB, free: 6.449 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.002325/0.002325, allocations: 210.4 kB / 19.43 MB, free: 3.637 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 / 252.8 MB, free: 9.117 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.341/3.341, allocations: 0.505 GB / 0.8066 GB, free: 23.09 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",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.002265/0.002265, allocations: 71.44 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3654, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003144/0.3686, allocations: 1.519 MB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004268/0.369, allocations: 127.6 kB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.369, allocations: 4 kB / 1.349 GB, free: 8.344 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.3691, allocations: 3.938 kB / 1.349 GB, free: 8.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.626e-05/0.3691, allocations: 7.875 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.3695, allocations: 82.44 kB / 1.349 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.3696, allocations: 51.91 kB / 1.349 GB, free: 8.203 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3698, allocations: 12.27 kB / 1.35 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.3699, allocations: 31.91 kB / 1.35 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.3699, allocations: 23.91 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.37, allocations: 4 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.37, allocations: 11.94 kB / 1.35 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.37, allocations: 15.94 kB / 1.35 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.37, allocations: 27.84 kB / 1.35 GB, free: 8.078 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.3702, allocations: 51.8 kB / 1.35 GB, free: 8.027 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3702, allocations: 4 kB / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3702, allocations: 0 / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3702, allocations: 0 / 1.35 GB, free: 8.023 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.0006476/0.3708, allocations: 375.2 kB / 1.35 GB, free: 7.605 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3709, allocations: 15.98 kB / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.3709, allocations: 34.75 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.371, allocations: 4.891 kB / 1.35 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3712, allocations: 176.2 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/0.3712, allocations: 34.27 kB / 1.35 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3712, allocations: 4.375 kB / 1.35 GB, free: 7.289 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3715, allocations: 77.89 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3715, allocations: 0 / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3715, allocations: 8 kB / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3715, allocations: 4 kB / 1.35 GB, free: 7.195 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.3717, allocations: 43.95 kB / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.3724, allocations: 316.7 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3725, allocations: 46.5 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3726, allocations: 28.92 kB / 1.351 GB, free: 6.707 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.3726, allocations: 0 / 1.351 GB, free: 6.707 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3727, allocations: 38.56 kB / 1.351 GB, free: 6.66 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3727, allocations: 0 / 1.351 GB, free: 6.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003771/0.373, allocations: 105.5 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3731, allocations: 51.41 kB / 1.351 GB, free: 6.488 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.3732, allocations: 105.8 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3732, allocations: 29.7 kB / 1.351 GB, free: 6.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.3733, allocations: 88.12 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.3733, allocations: 19.84 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.3733, allocations: 17.66 kB / 1.351 GB, free: 6.207 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3735, allocations: 326.8 kB / 1.352 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.3736, allocations: 19.98 kB / 1.352 GB, free: 5.859 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3737, allocations: 33.69 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.3739, allocations: 53.86 kB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3739, allocations: 7.938 kB / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002354/0.3741, allocations: 89.61 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3741, allocations: 7.984 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3741, allocations: 128 / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3742, allocations: 4 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3743, allocations: 12 kB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3743, allocations: 7.922 kB / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.3743, allocations: 4 kB / 1.352 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3743, allocations: 8.031 kB / 1.352 GB, free: 5.617 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 9.829e-05/0.3744, allocations: 113.8 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.3745, allocations: 4 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.3745, allocations: 15.83 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3745, allocations: 0 / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3745, allocations: 0 / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3745, allocations: 0 / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3747, allocations: 185.6 kB / 1.352 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3747, allocations: 0 / 1.352 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.3748, allocations: 12 kB / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3748, allocations: 0 / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3748, allocations: 3.984 kB / 1.352 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3748, allocations: 4 kB / 1.352 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3748, allocations: 0 / 1.352 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.3751, allocations: 175.4 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.3752, allocations: 85.06 kB / 1.352 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3752, allocations: 4 kB / 1.352 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.3753, allocations: 11.98 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3754, allocations: 7.984 kB / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3754, allocations: 0 / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.796e-05/0.3754, allocations: 91.58 kB / 1.352 GB, free: 4.812 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3754, allocations: 0 / 1.352 GB, free: 4.812 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002341/0.3757, allocations: 8 kB / 1.352 GB, free: 4.805 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.0007269/0.3764, allocations: 0.7046 MB / 1.353 GB, free: 4.074 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3766, allocations: 51.89 kB / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3766, allocations: 0 / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.3767, allocations: 32.03 kB / 1.353 GB, free: 3.992 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.377, allocations: 5.484 kB / 1.353 GB, free: 3.988 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3787, allocations: 1.332 MB / 1.355 GB, free: 2.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3791, allocations: 0.6888 MB / 1.355 GB, free: 1.855 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.3791, allocations: 4 kB / 1.355 GB, free: 1.852 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.3792, allocations: 15.44 kB / 1.355 GB, free: 1.836 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3792, allocations: 0 / 1.355 GB, free: 1.836 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.4045, allocations: 1.783 MB / 1.357 GB, free: 168 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/8.8, allocations: 9.766 kB / 1.357 GB, free: 160 kB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable toTotalAir.XiDry in file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv. Warning: Get data of variable toTotalAir.XiDry from file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv failed! Error: Could not read variable toDryAir.XiTotalAir in file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv. Warning: Get data of variable toDryAir.XiTotalAir from file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.9363140410278]