Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001571/0.001571, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001994/0.001994, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_12_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.00192/0.00192, allocations: 60.44 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3719, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002838/0.3747, allocations: 1.53 MB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003259/0.375, allocations: 135.6 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.3751, allocations: 0 / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.3751, allocations: 3.938 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.3752, allocations: 11.88 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3755, allocations: 63.91 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3756, allocations: 55.89 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.3757, allocations: 16.2 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.3758, allocations: 27.92 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.3758, allocations: 23.86 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3759, allocations: 4 kB / 1.328 GB, free: 96 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.3759, allocations: 4 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.3759, allocations: 23.97 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.3759, allocations: 23.86 kB / 1.329 GB, free: 44 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.3761, allocations: 55.8 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3761, allocations: 3.984 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3761, allocations: 3.938 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.3761, allocations: 3.938 kB / 1.329 GB, free: 15.98 MB / 1.029 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.0005115/0.3766, allocations: 298.2 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3766, allocations: 8.031 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.39e-05/0.3766, allocations: 8.188 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.3767, allocations: 34.75 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.3767, allocations: 12.88 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3768, allocations: 118.4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.52e-05/0.3769, allocations: 55.97 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3769, allocations: 4.375 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.3772, allocations: 73.78 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3772, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3772, allocations: 4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3772, allocations: 4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3774, allocations: 43.95 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.378, allocations: 291.7 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.3782, allocations: 54.55 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.3783, allocations: 24.94 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.3783, allocations: 0 / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3783, allocations: 30.56 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3783, allocations: 0 / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003899/0.3787, allocations: 109.5 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3788, allocations: 55.41 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3789, allocations: 109.8 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3789, allocations: 25.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.3789, allocations: 92.09 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.379, allocations: 11.84 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.379, allocations: 21.7 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3792, allocations: 326.8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.3793, allocations: 19.97 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.622e-05/0.3794, allocations: 33.7 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.3796, allocations: 57.61 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3796, allocations: 4.125 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002392/0.3798, allocations: 85.66 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3798, allocations: 8 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3798, allocations: 0 / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3798, allocations: 0 / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3799, allocations: 23.86 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3799, allocations: 320 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.38, allocations: 11.98 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.38, allocations: 0 / 1.331 GB, free: 13.74 MB / 1.029 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.709e-05/0.3801, allocations: 123.2 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3801, allocations: 3.938 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.3802, allocations: 12 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3802, allocations: 0 / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3802, allocations: 0 / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.3802, allocations: 0 / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.3804, allocations: 148.7 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3804, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.3804, allocations: 15.98 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3804, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3804, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3804, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3804, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3807, allocations: 183.3 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-06/0.3807, allocations: 8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3808, allocations: 3.984 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3809, allocations: 4 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3809, allocations: 11.98 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.3809, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.427e-05/0.381, allocations: 91.25 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.381, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002357/0.3812, allocations: 19.89 kB / 1.331 GB, free: 13.05 MB / 1.029 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.0006425/0.3819, allocations: 0.7046 MB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.3821, allocations: 48.28 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3821, allocations: 4.062 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.3822, allocations: 28.02 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3825, allocations: 4.094 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.3841, allocations: 1.34 MB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3844, allocations: 0.6807 MB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.3844, allocations: 4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.3845, allocations: 23.42 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3845, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.406, allocations: 1.93 MB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.87, allocations: 4 kB / 1.336 GB, free: 8.301 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.634921538992785]