Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 111.5 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 191.7 kB / 20.03 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] 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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.88 kB / 1.103 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9363/0.9383, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002726/0.9411, allocations: 1.678 MB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.19/1.131, allocations: 149.7 MB / 1.41 GB, free: 8.172 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/1.131, allocations: 1.344 kB / 1.41 GB, free: 8.172 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002078/1.132, allocations: 21.3 kB / 1.41 GB, free: 8.152 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003421/1.132, allocations: 53.72 kB / 1.41 GB, free: 8.109 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/1.133, allocations: 193.3 kB / 1.411 GB, free: 7.961 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/1.133, allocations: 161.5 kB / 1.411 GB, free: 7.867 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/1.133, allocations: 38.44 kB / 1.411 GB, free: 7.848 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/1.134, allocations: 194.2 kB / 1.411 GB, free: 7.762 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/1.135, allocations: 61.14 kB / 1.411 GB, free: 7.723 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/1.135, allocations: 9.562 kB / 1.411 GB, free: 7.723 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/1.135, allocations: 160.4 kB / 1.411 GB, free: 7.648 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/1.135, allocations: 23.8 kB / 1.411 GB, free: 7.629 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 8.49e-05/1.135, allocations: 58.95 kB / 1.411 GB, free: 7.586 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004249/1.136, allocations: 210.6 kB / 1.412 GB, free: 7.457 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.136, allocations: 0 / 1.412 GB, free: 7.457 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.252e-06/1.136, allocations: 0 / 1.412 GB, free: 7.457 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.136, allocations: 5.266 kB / 1.412 GB, free: 7.453 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009825/1.137, allocations: 470.5 kB / 1.412 GB, free: 7.008 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.137, allocations: 9.531 kB / 1.412 GB, free: 7.008 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/1.137, allocations: 55.67 kB / 1.412 GB, free: 6.984 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/1.138, allocations: 203.2 kB / 1.412 GB, free: 6.758 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/1.138, allocations: 11.72 kB / 1.412 GB, free: 6.75 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/1.138, allocations: 4.344 kB / 1.412 GB, free: 6.75 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/1.138, allocations: 182.8 kB / 1.412 GB, free: 6.605 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.138, allocations: 0 / 1.412 GB, free: 6.605 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/1.138, allocations: 13.02 kB / 1.412 GB, free: 6.594 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/1.138, allocations: 2.594 kB / 1.412 GB, free: 6.594 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/1.139, allocations: 141.3 kB / 1.413 GB, free: 6.527 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/1.14, allocations: 0.8348 MB / 1.413 GB, free: 5.699 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/1.141, allocations: 130.4 kB / 1.413 GB, free: 5.621 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/1.141, allocations: 91.28 kB / 1.414 GB, free: 5.566 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/1.141, allocations: 5.234 kB / 1.414 GB, free: 5.562 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.141, allocations: 31.72 kB / 1.414 GB, free: 5.523 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/1.141, allocations: 0 / 1.414 GB, free: 5.523 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.002023/1.143, allocations: 457.9 kB / 1.414 GB, free: 5.227 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.143, allocations: 53.06 kB / 1.414 GB, free: 5.164 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/1.143, allocations: 159.6 kB / 1.414 GB, free: 5.027 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/1.143, allocations: 25.7 kB / 1.414 GB, free: 4.996 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/1.143, allocations: 108.3 kB / 1.414 GB, free: 4.891 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/1.143, allocations: 31.73 kB / 1.414 GB, free: 4.863 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/1.144, allocations: 31.14 kB / 1.414 GB, free: 4.836 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.144, allocations: 325.4 kB / 1.415 GB, free: 4.512 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/1.144, allocations: 76.27 kB / 1.415 GB, free: 4.473 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/1.144, allocations: 95.77 kB / 1.415 GB, free: 4.402 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/1.145, allocations: 183 kB / 1.415 GB, free: 4.281 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.145, allocations: 1.125 kB / 1.415 GB, free: 4.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001092/1.146, allocations: 278.4 kB / 1.415 GB, free: 4.121 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.146, allocations: 9.156 kB / 1.415 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.146, allocations: 1.219 kB / 1.415 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/1.147, allocations: 86.45 kB / 1.415 GB, free: 4.074 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/1.147, allocations: 40.58 kB / 1.415 GB, free: 4.055 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/1.149, allocations: 1.658 MB / 1.417 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/1.15, allocations: 22.97 kB / 1.417 GB, free: 2.438 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/1.15, allocations: 12.39 kB / 1.417 GB, free: 2.43 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000128/1.15, allocations: 129.3 kB / 1.417 GB, free: 2.301 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/1.15, allocations: 9.922 kB / 1.417 GB, free: 2.297 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/1.151, allocations: 316.2 kB / 1.418 GB, free: 2.102 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.151, allocations: 5.031 kB / 1.418 GB, free: 2.098 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/1.151, allocations: 1.062 kB / 1.418 GB, free: 2.098 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.151, allocations: 0 / 1.418 GB, free: 2.098 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/1.151, allocations: 241.5 kB / 1.418 GB, free: 1.844 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.151, allocations: 0 / 1.418 GB, free: 1.844 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/1.152, allocations: 33.19 kB / 1.418 GB, free: 1.832 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/1.152, allocations: 73.67 kB / 1.418 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.152, allocations: 9.312 kB / 1.418 GB, free: 1.785 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/1.154, allocations: 1.683 MB / 1.42 GB, free: 164 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.154, allocations: 3.938 kB / 1.42 GB, free: 160 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/1.155, allocations: 369.5 kB / 1.42 GB, free: 15.9 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.155, allocations: 111.8 kB / 1.42 GB, free: 15.78 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/1.155, allocations: 5.062 kB / 1.42 GB, free: 15.78 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/1.156, allocations: 20.94 kB / 1.42 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/1.156, allocations: 17.98 kB / 1.42 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/1.156, allocations: 3.281 kB / 1.42 GB, free: 15.75 MB / 1.123 GB Notification: Performance of sorting global known variables: time 9.943e-05/1.156, allocations: 117.2 kB / 1.42 GB, free: 15.66 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.41e-07/1.156, allocations: 0 / 1.42 GB, free: 15.66 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003543/1.156, allocations: 44.12 kB / 1.42 GB, free: 15.65 MB / 1.123 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002111/1.156, allocations: 112 kB / 1.42 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009709/1.157, allocations: 311.3 kB / 1.421 GB, free: 15.35 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.157, allocations: 1.219 kB / 1.421 GB, free: 15.35 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006009/1.158, allocations: 238.5 kB / 1.421 GB, free: 15.17 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/1.158, allocations: 26.09 kB / 1.421 GB, free: 15.16 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/1.159, allocations: 335.5 kB / 1.421 GB, free: 14.91 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/1.16, allocations: 0.7132 MB / 1.422 GB, free: 14.2 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/1.16, allocations: 27.89 kB / 1.422 GB, free: 14.18 MB / 1.123 GB Notification: Performance of SimCode: time 3.1e-07/1.16, allocations: 3.938 kB / 1.422 GB, free: 14.17 MB / 1.123 GB Notification: Performance of Templates: time 0.005648/1.166, allocations: 2.729 MB / 1.425 GB, free: 12.74 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: 11.907321318984032]