Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.002103/0.002103, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001991/0.001991, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.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.995/2.995, allocations: 0.49 GB / 0.7923 GB, free: 1.25 MB / 0.6231 GB " [Timeout remaining time 176] 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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [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.002081/0.002081, allocations: 75.88 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002992/1.078, allocations: 1.933 MB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2449/1.323, allocations: 158.8 MB / 1.479 GB, free: 2.965 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/1.323, allocations: 2.438 kB / 1.479 GB, free: 2.965 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/1.323, allocations: 24.67 kB / 1.479 GB, free: 2.941 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003989/1.323, allocations: 77.64 kB / 1.479 GB, free: 2.879 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000944/1.324, allocations: 264.8 kB / 1.479 GB, free: 2.68 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/1.325, allocations: 264.9 kB / 1.479 GB, free: 2.527 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/1.325, allocations: 54.66 kB / 1.48 GB, free: 2.488 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/1.327, allocations: 245.5 kB / 1.48 GB, free: 2.379 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/1.327, allocations: 93.72 kB / 1.48 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/1.327, allocations: 15.19 kB / 1.48 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006051/1.327, allocations: 191.9 kB / 1.48 GB, free: 2.227 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/1.328, allocations: 51.7 kB / 1.48 GB, free: 2.184 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/1.328, allocations: 93.67 kB / 1.48 GB, free: 2.121 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007722/1.328, allocations: 296.1 kB / 1.48 GB, free: 1.938 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/1.329, allocations: 1.594 kB / 1.48 GB, free: 1.938 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.256e-06/1.329, allocations: 0 / 1.48 GB, free: 1.938 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.006e-05/1.329, allocations: 0 / 1.48 GB, free: 1.938 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001413/1.33, allocations: 0.531 MB / 1.481 GB, free: 1.445 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.33, allocations: 13.61 kB / 1.481 GB, free: 1.441 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/1.331, allocations: 114.4 kB / 1.481 GB, free: 1.395 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/1.332, allocations: 234.2 kB / 1.481 GB, free: 1.145 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.332, allocations: 37.78 kB / 1.481 GB, free: 1.109 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/1.332, allocations: 22.44 kB / 1.481 GB, free: 1.098 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/1.333, allocations: 260.1 kB / 1.482 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.333, allocations: 5.125 kB / 1.482 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/1.333, allocations: 14.28 kB / 1.482 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/1.333, allocations: 4.531 kB / 1.482 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/1.333, allocations: 165.5 kB / 1.482 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/1.336, allocations: 1.188 MB / 1.483 GB, free: 15.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009192/1.336, allocations: 201.4 kB / 1.483 GB, free: 15.58 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/1.337, allocations: 68.34 kB / 1.483 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/1.337, allocations: 1.281 kB / 1.483 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/1.337, allocations: 35.97 kB / 1.483 GB, free: 15.5 MB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 2.575e-06/1.337, allocations: 0 / 1.483 GB, free: 15.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=12): time 0.003046/1.34, allocations: 0.6209 MB / 1.484 GB, free: 15.06 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.34, allocations: 52.75 kB / 1.484 GB, free: 15 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/1.34, allocations: 213.3 kB / 1.484 GB, free: 14.84 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/1.34, allocations: 25.7 kB / 1.484 GB, free: 14.81 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/1.34, allocations: 140.4 kB / 1.484 GB, free: 14.68 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/1.34, allocations: 53.41 kB / 1.484 GB, free: 14.63 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.341, allocations: 52.95 kB / 1.484 GB, free: 14.59 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.341, allocations: 326.6 kB / 1.485 GB, free: 14.27 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/1.341, allocations: 72.53 kB / 1.485 GB, free: 14.23 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/1.341, allocations: 136.5 kB / 1.485 GB, free: 14.11 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/1.342, allocations: 194 kB / 1.485 GB, free: 13.98 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.342, allocations: 1.375 kB / 1.485 GB, free: 13.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001631/1.343, allocations: 381.1 kB / 1.485 GB, free: 13.76 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.343, allocations: 5.75 kB / 1.485 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/1.343, allocations: 2.5 kB / 1.485 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/1.345, allocations: 166.5 kB / 1.486 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/1.345, allocations: 38.06 kB / 1.486 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/1.35, allocations: 3.25 MB / 1.489 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/1.35, allocations: 39.08 kB / 1.489 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/1.35, allocations: 9.953 kB / 1.489 GB, free: 10.45 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001976/1.35, allocations: 134.8 kB / 1.489 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/1.35, allocations: 19.92 kB / 1.489 GB, free: 10.31 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/1.352, allocations: 366.1 kB / 1.489 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.352, allocations: 2.219 kB / 1.489 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.352, allocations: 1.125 kB / 1.489 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.352, allocations: 0 / 1.489 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/1.352, allocations: 282.4 kB / 1.49 GB, free: 9.785 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.352, allocations: 0 / 1.49 GB, free: 9.785 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/1.352, allocations: 24.45 kB / 1.49 GB, free: 9.777 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008836/1.353, allocations: 139.9 kB / 1.49 GB, free: 9.703 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/1.353, allocations: 5.344 kB / 1.49 GB, free: 9.699 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004269/1.358, allocations: 3.3 MB / 1.493 GB, free: 6.496 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.358, allocations: 0 / 1.493 GB, free: 6.496 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/1.359, allocations: 435.5 kB / 1.493 GB, free: 6.195 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/1.359, allocations: 118.9 kB / 1.494 GB, free: 6.07 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/1.359, allocations: 9.266 kB / 1.494 GB, free: 6.062 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/1.36, allocations: 11.77 kB / 1.494 GB, free: 6.059 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.36, allocations: 23.66 kB / 1.494 GB, free: 6.043 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/1.36, allocations: 12.98 kB / 1.494 GB, free: 6.035 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002379/1.36, allocations: 160.1 kB / 1.494 GB, free: 5.918 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.36, allocations: 0.9062 kB / 1.494 GB, free: 5.918 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005288/1.36, allocations: 70.59 kB / 1.494 GB, free: 5.906 MB / 1.17 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002304/1.361, allocations: 116 kB / 1.494 GB, free: 5.805 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001205/1.362, allocations: 443.8 kB / 1.494 GB, free: 5.473 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.362, allocations: 0 / 1.494 GB, free: 5.473 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007608/1.363, allocations: 353.2 kB / 1.495 GB, free: 5.18 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/1.363, allocations: 63.97 kB / 1.495 GB, free: 5.141 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/1.364, allocations: 442.7 kB / 1.495 GB, free: 4.84 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/1.365, allocations: 0.744 MB / 1.496 GB, free: 4.109 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/1.365, allocations: 23.33 kB / 1.496 GB, free: 4.102 MB / 1.17 GB Notification: Performance of SimCode: time 5.91e-07/1.365, allocations: 0 / 1.496 GB, free: 4.102 MB / 1.17 GB Notification: Performance of Templates: time 0.008667/1.373, allocations: 4.441 MB / 1.5 GB, free: 1.496 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 12.939044493003166]