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.001769/0.001769, allocations: 79.19 kB / 19.76 MB, free: 1.875 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.002134/0.002134, allocations: 158.6 kB / 23.01 MB, free: 4.598 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.918 MB / 190.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 2.76/2.76, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [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: 67.89 kB / 0.9819 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9285/0.9306, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002145/0.9328, allocations: 1.514 MB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002784/0.933, allocations: 122.7 kB / 1.155 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.9331, allocations: 4 kB / 1.155 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.9331, allocations: 7.453 kB / 1.155 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.9332, allocations: 6.344 kB / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.9335, allocations: 66.97 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.9336, allocations: 61.89 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.9337, allocations: 16.92 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.9337, allocations: 32.31 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.9338, allocations: 16.84 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.9338, allocations: 9.656 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.9338, allocations: 2.5 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.9339, allocations: 17.73 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.9339, allocations: 23.05 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.661e-05/0.934, allocations: 56.83 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.934, allocations: 0 / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.242e-06/0.934, allocations: 0 / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.934, allocations: 0 / 1.156 GB, free: 32.05 MB / 1.076 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.000451/0.9345, allocations: 296.4 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.9345, allocations: 8.906 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.9345, allocations: 11.89 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.217e-05/0.9346, allocations: 116.7 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.9347, allocations: 65.44 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.9347, allocations: 3.156 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.9349, allocations: 99.48 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.9349, allocations: 7.922 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.9349, allocations: 0 / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9349, allocations: 2.781 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.9351, allocations: 50.11 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.9356, allocations: 252.3 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.9357, allocations: 45.81 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.9358, allocations: 30.11 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.9358, allocations: 0 / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.9358, allocations: 38.31 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.9358, allocations: 0 / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003443/0.9362, allocations: 97.34 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.9362, allocations: 54.38 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.9363, allocations: 104.8 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.9363, allocations: 32.39 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.9363, allocations: 94.02 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.9363, allocations: 15.97 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.9364, allocations: 23.06 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.9364, allocations: 318.1 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.9365, allocations: 20.33 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.9366, allocations: 33.58 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.9367, allocations: 69.02 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9367, allocations: 0 / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002059/0.9369, allocations: 81.17 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.937, allocations: 6.141 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.937, allocations: 2.875 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.937, allocations: 3.938 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.9371, allocations: 15.52 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.9371, allocations: 2.812 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.9371, allocations: 14.12 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.9372, allocations: 2.812 kB / 1.158 GB, free: 30.35 MB / 1.076 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 5.803e-05/0.9372, allocations: 116.5 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.9372, allocations: 2.781 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.9373, allocations: 8 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9373, allocations: 2.844 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.9373, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9373, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.9374, allocations: 124.3 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9374, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.9375, allocations: 11.53 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9375, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.9375, allocations: 6.781 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9375, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9375, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.9377, allocations: 186.6 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.9377, allocations: 10.47 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.9377, allocations: 2.938 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.9378, allocations: 8.859 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.9379, allocations: 3.422 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.9379, allocations: 2.594 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.695e-05/0.9379, allocations: 91.72 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9379, allocations: 2.719 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002289/0.9381, allocations: 15.83 kB / 1.158 GB, free: 29.82 MB / 1.076 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 9.016e-05/0.9382, allocations: 96.53 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.9385, allocations: 53.61 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.9385, allocations: 0 / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.9385, allocations: 30.69 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.9388, allocations: 9.734 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.9391, allocations: 128.8 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.9391, allocations: 70.95 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.496e-05/0.9392, allocations: 5.156 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.9392, allocations: 14.41 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.9392, allocations: 4 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of Templates: time 0.003017/0.9422, allocations: 0.8493 MB / 1.16 GB, free: 29.37 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] 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: 8.54267344798427]