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.001393/0.001393, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00146/0.00146, allocations: 218.6 kB / 23.05 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.812/2.812, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] 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.001963/0.001963, allocations: 63.23 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3291, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002848/0.332, allocations: 1.545 MB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004016/0.3324, allocations: 127.6 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.3324, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.3324, allocations: 3.938 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-05/0.3325, allocations: 3.938 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.3329, allocations: 67.52 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.333, allocations: 59.84 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3331, allocations: 15.98 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.3332, allocations: 31.91 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.3332, allocations: 27.8 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3332, allocations: 8 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.3333, allocations: 4 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.3333, allocations: 11.98 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.3333, allocations: 23.86 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.3335, allocations: 59.31 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3335, allocations: 0 / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3335, allocations: 0 / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3335, allocations: 4 kB / 1.286 GB, free: 9.809 MB / 0.9825 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.0005338/0.334, allocations: 298.1 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.334, allocations: 8.031 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.979e-05/0.3341, allocations: 4.188 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.3341, allocations: 38.69 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.3341, allocations: 8.891 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3342, allocations: 114.5 kB / 1.287 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.854e-05/0.3343, allocations: 63.97 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3343, allocations: 384 / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3346, allocations: 77.77 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3346, allocations: 0 / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3346, allocations: 4 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3346, allocations: 4 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.3348, allocations: 47.89 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.3354, allocations: 291.8 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3356, allocations: 46.55 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.3356, allocations: 24.94 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.3357, allocations: 4 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3357, allocations: 38.5 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3357, allocations: 0 / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003773/0.3361, allocations: 97.62 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3361, allocations: 55.41 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.3362, allocations: 105.8 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3362, allocations: 29.7 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.3363, allocations: 93.89 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.3363, allocations: 11.84 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.3363, allocations: 21.7 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3365, allocations: 318.8 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.3366, allocations: 19.98 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3367, allocations: 45.62 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3369, allocations: 53.67 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3369, allocations: 0 / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002303/0.3371, allocations: 85.59 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3371, allocations: 11.94 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3371, allocations: 7.969 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3371, allocations: 0 / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3372, allocations: 15.98 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3372, allocations: 0 / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.3373, allocations: 12.08 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3373, allocations: 4 kB / 1.288 GB, free: 7.57 MB / 0.9825 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.302e-05/0.3374, allocations: 121.8 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.3374, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.3375, allocations: 16 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3375, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3375, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.3375, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.3376, allocations: 152.7 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3377, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.3377, allocations: 15.92 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3377, allocations: 0 / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3377, allocations: 0 / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3377, allocations: 320 / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3377, allocations: 0 / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.338, allocations: 183.6 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.338, allocations: 4.047 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.338, allocations: 3.984 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3382, allocations: 11.98 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.3382, allocations: 7.984 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3382, allocations: 4 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.3383, allocations: 95.25 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3383, allocations: 0 / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002298/0.3385, allocations: 15.89 kB / 1.289 GB, free: 6.879 MB / 0.9825 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.0005994/0.3391, allocations: 0.7007 MB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3393, allocations: 47.95 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3393, allocations: 7.938 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.521e-05/0.3394, allocations: 23.97 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3397, allocations: 10.12 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3412, allocations: 1.336 MB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3415, allocations: 0.6845 MB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.3415, allocations: 8 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.3416, allocations: 19.42 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.3416, allocations: 0 / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.3618, allocations: 1.916 MB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.03, allocations: 9.984 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB " [Timeout remaining time 287] (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: 18.6923672069679]