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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 103.4 kB / 18.18 MB, free: 4.133 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 189.9 kB / 21.34 MB, free: 0.9844 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 489.7 MB / 0.7761 GB, free: 2.449 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|toTotalAir.XiTotalAir|toTotalAir.XiDry|toTotalAir.XNonVapor|toDryAir.XiTotalAir|toDryAir.XiDry",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.91 kB / 1.127 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188/1.19, allocations: 172.1 MB / 1.295 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003253/1.193, allocations: 1.497 MB / 1.296 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003602/1.193, allocations: 133.4 kB / 1.296 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/1.193, allocations: 1.312 kB / 1.296 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/1.193, allocations: 9.469 kB / 1.296 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/1.193, allocations: 13.97 kB / 1.296 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/1.194, allocations: 68.12 kB / 1.297 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/1.194, allocations: 60.95 kB / 1.297 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/1.194, allocations: 20.47 kB / 1.297 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/1.194, allocations: 23.38 kB / 1.297 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/1.194, allocations: 24.23 kB / 1.297 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/1.194, allocations: 8.812 kB / 1.297 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/1.194, allocations: 4.812 kB / 1.297 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/1.194, allocations: 13.7 kB / 1.297 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/1.194, allocations: 25.91 kB / 1.297 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/1.194, allocations: 56.94 kB / 1.297 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.194, allocations: 1.688 kB / 1.297 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.744e-06/1.194, allocations: 0 / 1.297 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.194, allocations: 0 / 1.297 GB, free: 4.383 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.0006199/1.195, allocations: 378.1 kB / 1.297 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.195, allocations: 9.719 kB / 1.297 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/1.195, allocations: 7.891 kB / 1.297 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/1.195, allocations: 167.9 kB / 1.297 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/1.195, allocations: 34.98 kB / 1.297 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/1.195, allocations: 6.531 kB / 1.297 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/1.196, allocations: 70.16 kB / 1.297 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.196, allocations: 3.938 kB / 1.297 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/1.196, allocations: 10 kB / 1.297 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.196, allocations: 1.406 kB / 1.297 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/1.196, allocations: 44.41 kB / 1.297 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/1.196, allocations: 318.3 kB / 1.298 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/1.197, allocations: 50.69 kB / 1.298 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/1.197, allocations: 27.31 kB / 1.298 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/1.197, allocations: 1.938 kB / 1.298 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.197, allocations: 36.45 kB / 1.298 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.197, allocations: 0 / 1.298 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000385/1.197, allocations: 110.6 kB / 1.298 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/1.197, allocations: 52.2 kB / 1.298 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/1.197, allocations: 107.3 kB / 1.298 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/1.197, allocations: 27.08 kB / 1.298 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/1.197, allocations: 91.47 kB / 1.298 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/1.197, allocations: 14.73 kB / 1.298 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/1.197, allocations: 18.3 kB / 1.298 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.198, allocations: 325.9 kB / 1.299 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/1.198, allocations: 21.36 kB / 1.299 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/1.198, allocations: 33.31 kB / 1.299 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/1.198, allocations: 60.44 kB / 1.299 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.198, allocations: 5.531 kB / 1.299 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002328/1.198, allocations: 86.53 kB / 1.299 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.198, allocations: 5.5 kB / 1.299 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.198, allocations: 0.5156 kB / 1.299 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.198, allocations: 1.094 kB / 1.299 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/1.198, allocations: 17.19 kB / 1.299 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.198, allocations: 1.062 kB / 1.299 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/1.198, allocations: 10.92 kB / 1.299 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/1.198, allocations: 1.062 kB / 1.299 GB, free: 2.512 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.0001082/1.199, allocations: 122 kB / 1.299 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/1.199, allocations: 2.953 kB / 1.299 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/1.199, allocations: 10.11 kB / 1.299 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.199, allocations: 0 / 1.299 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.199, allocations: 1.156 kB / 1.299 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.199, allocations: 0.7969 kB / 1.299 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/1.199, allocations: 182.1 kB / 1.299 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.199, allocations: 2.047 kB / 1.299 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/1.199, allocations: 14.8 kB / 1.299 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.199, allocations: 0.7031 kB / 1.299 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/1.199, allocations: 0.8438 kB / 1.299 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.199, allocations: 0 / 1.299 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.199, allocations: 1.062 kB / 1.299 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/1.199, allocations: 179.9 kB / 1.299 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/1.199, allocations: 90.53 kB / 1.299 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/1.199, allocations: 0.7969 kB / 1.299 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/1.199, allocations: 13.92 kB / 1.299 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/1.199, allocations: 8.656 kB / 1.299 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/1.199, allocations: 3.188 kB / 1.299 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.578e-05/1.199, allocations: 87.11 kB / 1.3 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.199, allocations: 1.531 kB / 1.3 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002262/1.2, allocations: 7.344 kB / 1.3 GB, free: 1.824 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.0001385/1.2, allocations: 100.6 kB / 1.3 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002364/1.2, allocations: 60.14 kB / 1.3 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.2, allocations: 0 / 1.3 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/1.2, allocations: 24.45 kB / 1.3 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/1.2, allocations: 5.859 kB / 1.3 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/1.201, allocations: 169.9 kB / 1.3 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/1.201, allocations: 0.6869 MB / 1.301 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/1.201, allocations: 10.03 kB / 1.301 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/1.201, allocations: 0 / 1.301 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of Templates: time 0.00259/1.204, allocations: 0.854 MB / 1.301 GB, free: 0.7812 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 400] 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