Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001869/0.001869, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002579/0.002579, allocations: 215 kB / 20.13 MB, free: 2.949 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_11_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.002618/0.002618, allocations: 67.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.117, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003464/1.12, allocations: 1.516 MB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004328/1.121, allocations: 137.1 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/1.121, allocations: 1.375 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/1.121, allocations: 5.25 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/1.121, allocations: 9.875 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/1.121, allocations: 71.25 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/1.122, allocations: 62.38 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/1.122, allocations: 15.58 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/1.122, allocations: 23.59 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/1.122, allocations: 28.88 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/1.122, allocations: 5.094 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/1.122, allocations: 5.281 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/1.122, allocations: 17.44 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/1.122, allocations: 24.94 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/1.122, allocations: 61.47 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.122, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.122, allocations: 0 / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.122, allocations: 1.062 kB / 1.281 GB, free: 10.43 MB / 0.9981 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.0007875/1.123, allocations: 377.4 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.123, allocations: 10.47 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.941e-05/1.123, allocations: 1.25 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/1.123, allocations: 36.62 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/1.123, allocations: 4.656 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/1.123, allocations: 168.1 kB / 1.281 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.602e-05/1.123, allocations: 31.64 kB / 1.281 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/1.123, allocations: 10.5 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/1.124, allocations: 81.97 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.124, allocations: 0 / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.124, allocations: 0 / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.124, allocations: 1.094 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/1.124, allocations: 46.17 kB / 1.282 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/1.125, allocations: 321.3 kB / 1.282 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/1.125, allocations: 55.75 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/1.125, allocations: 27.48 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/1.125, allocations: 1.156 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/1.125, allocations: 36.2 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.125, allocations: 0 / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004556/1.126, allocations: 94.33 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.126, allocations: 57 kB / 1.282 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.126, allocations: 111.7 kB / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/1.126, allocations: 26.33 kB / 1.282 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/1.126, allocations: 95.7 kB / 1.282 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/1.126, allocations: 14.77 kB / 1.282 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/1.126, allocations: 18.12 kB / 1.282 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.126, allocations: 318.5 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/1.126, allocations: 24.81 kB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/1.127, allocations: 37.28 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/1.127, allocations: 60.84 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.127, allocations: 0.5 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002863/1.127, allocations: 86.77 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.127, allocations: 5.953 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.127, allocations: 1.031 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.127, allocations: 1 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/1.127, allocations: 16.66 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.127, allocations: 1.609 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/1.127, allocations: 10.81 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/1.127, allocations: 1.5 kB / 1.283 GB, free: 8.516 MB / 0.9981 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.0001086/1.127, allocations: 123.1 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/1.127, allocations: 3.484 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/1.127, allocations: 9.922 kB / 1.283 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.127, allocations: 0.5625 kB / 1.283 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.128, allocations: 8.469 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.128, allocations: 0.5 kB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/1.128, allocations: 179.2 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.128, allocations: 0.5312 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-05/1.128, allocations: 10.8 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.128, allocations: 1.781 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/1.128, allocations: 0 / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.128, allocations: 1.062 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.128, allocations: 0.6562 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/1.128, allocations: 187.4 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/1.128, allocations: 79 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/1.128, allocations: 1.969 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.128, allocations: 9.516 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/1.128, allocations: 3.328 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/1.128, allocations: 3.578 kB / 1.284 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.682e-05/1.129, allocations: 91.88 kB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.129, allocations: 0 / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002313/1.129, allocations: 19.67 kB / 1.284 GB, free: 7.82 MB / 0.9981 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.0006374/1.129, allocations: 0.7042 MB / 1.284 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002478/1.13, allocations: 55.88 kB / 1.284 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.13, allocations: 0.9688 kB / 1.284 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/1.13, allocations: 23.27 kB / 1.284 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/1.13, allocations: 15.55 kB / 1.284 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/1.132, allocations: 1.331 MB / 1.286 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/1.132, allocations: 0.6861 MB / 1.286 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.863e-05/1.132, allocations: 4.594 kB / 1.286 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/1.133, allocations: 23.56 kB / 1.286 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of SimCode: time 4.5e-07/1.133, allocations: 0 / 1.286 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/1.15, allocations: 1.825 MB / 1.288 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/9.613, allocations: 10.66 kB / 1.288 GB, free: 4.746 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.03683366801124]