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.001389/0.001389, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001551/0.001551, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.496/1.496, allocations: 230.6 MB / 256 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.331/3.331, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002089/0.002089, allocations: 65.72 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003172/0.3743, allocations: 1.525 MB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003805/0.3747, allocations: 119.7 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.3748, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.3748, allocations: 7.922 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.3749, allocations: 7.938 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.3752, allocations: 71.83 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3754, allocations: 59.84 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3755, allocations: 16.16 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.3755, allocations: 23.97 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.3756, allocations: 23.84 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.3756, allocations: 8 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.3757, allocations: 4 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.3757, allocations: 19.98 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.3757, allocations: 23.84 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.3759, allocations: 51.81 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3759, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3759, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3759, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 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.0005687/0.3764, allocations: 298.2 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3765, allocations: 8.031 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.3765, allocations: 38.69 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.3766, allocations: 8.828 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3767, allocations: 126.4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/0.3768, allocations: 63.95 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3768, allocations: 4.375 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3771, allocations: 103.7 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3771, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3771, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3771, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.3773, allocations: 55.89 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.3779, allocations: 267.9 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.378, allocations: 42.56 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3781, allocations: 32.92 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3782, allocations: 3.984 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3782, allocations: 34.5 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3782, allocations: 4 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003851/0.3786, allocations: 97.59 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3786, allocations: 55.41 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3787, allocations: 109.8 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3788, allocations: 25.7 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.3788, allocations: 96.08 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.3788, allocations: 7.891 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.3789, allocations: 17.72 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.379, allocations: 326.8 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.3791, allocations: 19.98 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3792, allocations: 41.62 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3794, allocations: 49.69 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3794, allocations: 4 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002492/0.3797, allocations: 93.55 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3797, allocations: 11.92 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3797, allocations: 128 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3797, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3798, allocations: 16 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3798, allocations: 3.984 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.3799, allocations: 4 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3799, allocations: 4 kB / 1.367 GB, free: 9.824 MB / 1.061 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.000102/0.38, allocations: 113.8 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.38, allocations: 15.92 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.3801, allocations: 7.984 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3801, allocations: 0 / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3801, allocations: 4 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3801, allocations: 0 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3803, allocations: 140.8 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3803, allocations: 0 / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/0.3803, allocations: 15.92 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3803, allocations: 4 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3803, allocations: 4 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3803, allocations: 4 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3803, allocations: 0 / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.3806, allocations: 175.4 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.3806, allocations: 3.953 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3807, allocations: 4 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3808, allocations: 11.98 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3808, allocations: 0 / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3808, allocations: 7.984 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.3809, allocations: 87.28 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3809, allocations: 4 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002293/0.3811, allocations: 8 kB / 1.368 GB, free: 9.145 MB / 1.061 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.0006124/0.3817, allocations: 0.7087 MB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.382, allocations: 55.92 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.382, allocations: 0 / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.3821, allocations: 28.05 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3824, allocations: 10.34 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.384, allocations: 1.333 MB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.379e-05/0.384, allocations: 67.34 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.3841, allocations: 7.984 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.3841, allocations: 15.44 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.3841, allocations: 0 / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.4131, allocations: 2.349 MB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 5.438 kB / 1.372 GB, free: 4.59 MB / 1.061 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.899358386173844]