Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001661/0.001661, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001812/0.001812, allocations: 186 kB / 20.78 MB, free: 1.547 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.483/1.483, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.89 kB / 1.059 GB, free: 384 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3583, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003325/0.3617, allocations: 1.933 MB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7848/1.146, allocations: 156 MB / 1.37 GB, free: 1.133 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/1.147, allocations: 5.219 kB / 1.37 GB, free: 1.129 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/1.147, allocations: 27.84 kB / 1.37 GB, free: 1.109 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003666/1.147, allocations: 80.14 kB / 1.37 GB, free: 1.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/1.148, allocations: 254.6 kB / 1.371 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004007/1.148, allocations: 272.7 kB / 1.371 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/1.149, allocations: 47.55 kB / 1.371 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/1.15, allocations: 255.8 kB / 1.371 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/1.15, allocations: 94.12 kB / 1.371 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/1.15, allocations: 13.75 kB / 1.371 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/1.151, allocations: 183.7 kB / 1.372 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/1.151, allocations: 46.97 kB / 1.372 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/1.151, allocations: 90.36 kB / 1.372 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/1.151, allocations: 290.9 kB / 1.372 GB, free: 428 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.151, allocations: 0 / 1.372 GB, free: 428 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/1.151, allocations: 0 / 1.372 GB, free: 428 kB / 1.045 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.151, allocations: 6.484 kB / 1.372 GB, free: 424 kB / 1.045 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.001063/1.153, allocations: 0.5253 MB / 1.372 GB, free: 15.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/1.153, allocations: 9.594 kB / 1.372 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/1.153, allocations: 81.12 kB / 1.373 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/1.154, allocations: 231.6 kB / 1.373 GB, free: 15.72 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-05/1.154, allocations: 42.09 kB / 1.373 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/1.154, allocations: 18.84 kB / 1.373 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/1.154, allocations: 265.7 kB / 1.373 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.154, allocations: 8.969 kB / 1.373 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/1.154, allocations: 6.406 kB / 1.373 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.154, allocations: 4.312 kB / 1.373 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/1.155, allocations: 164.2 kB / 1.373 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/1.157, allocations: 1.182 MB / 1.374 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/1.157, allocations: 200.7 kB / 1.375 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/1.158, allocations: 67.55 kB / 1.375 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/1.158, allocations: 3.906 kB / 1.375 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/1.158, allocations: 35.97 kB / 1.375 GB, free: 14.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/1.158, allocations: 0 / 1.375 GB, free: 14.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.002728/1.16, allocations: 0.629 MB / 1.375 GB, free: 13.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.16, allocations: 53.84 kB / 1.375 GB, free: 13.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/1.161, allocations: 219 kB / 1.376 GB, free: 13.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/1.161, allocations: 31.02 kB / 1.376 GB, free: 13.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.161, allocations: 143.5 kB / 1.376 GB, free: 13.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/1.161, allocations: 38.94 kB / 1.376 GB, free: 13.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.161, allocations: 50.72 kB / 1.376 GB, free: 13.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.161, allocations: 330.3 kB / 1.376 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/1.161, allocations: 77.42 kB / 1.376 GB, free: 13.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/1.162, allocations: 127.5 kB / 1.376 GB, free: 13.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/1.162, allocations: 210.7 kB / 1.377 GB, free: 12.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.162, allocations: 0 / 1.377 GB, free: 12.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001493/1.164, allocations: 374 kB / 1.377 GB, free: 12.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.164, allocations: 6.219 kB / 1.377 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.164, allocations: 1.594 kB / 1.377 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/1.165, allocations: 160.6 kB / 1.377 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/1.165, allocations: 39.05 kB / 1.377 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/1.169, allocations: 3.253 MB / 1.38 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/1.169, allocations: 33.98 kB / 1.38 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/1.17, allocations: 17.09 kB / 1.38 GB, free: 9.746 MB / 1.061 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.0001503/1.17, allocations: 132.7 kB / 1.38 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/1.17, allocations: 16.69 kB / 1.38 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/1.171, allocations: 372.4 kB / 1.381 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.171, allocations: 2.281 kB / 1.381 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/1.171, allocations: 1.062 kB / 1.381 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.171, allocations: 2.578 kB / 1.381 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/1.171, allocations: 275.1 kB / 1.381 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.171, allocations: 0 / 1.381 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/1.172, allocations: 25.2 kB / 1.381 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000857/1.172, allocations: 140 kB / 1.381 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/1.172, allocations: 5.906 kB / 1.381 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003938/1.176, allocations: 3.299 MB / 1.384 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.176, allocations: 9.75 kB / 1.384 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/1.178, allocations: 431.8 kB / 1.385 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.178, allocations: 112.8 kB / 1.385 GB, free: 5.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/1.178, allocations: 11.69 kB / 1.385 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/1.178, allocations: 15.08 kB / 1.385 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/1.178, allocations: 22.11 kB / 1.385 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/1.178, allocations: 6.25 kB / 1.385 GB, free: 5.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001972/1.178, allocations: 164.6 kB / 1.385 GB, free: 5.645 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.178, allocations: 0 / 1.385 GB, free: 5.645 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004391/1.179, allocations: 70.5 kB / 1.385 GB, free: 5.633 MB / 1.061 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.00021/1.179, allocations: 117 kB / 1.385 GB, free: 5.535 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001095/1.18, allocations: 444.7 kB / 1.386 GB, free: 5.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.18, allocations: 1.188 kB / 1.386 GB, free: 5.246 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006764/1.181, allocations: 349.4 kB / 1.386 GB, free: 4.984 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/1.181, allocations: 62.64 kB / 1.386 GB, free: 4.961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/1.182, allocations: 438.4 kB / 1.387 GB, free: 4.711 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/1.183, allocations: 0.7374 MB / 1.387 GB, free: 4.008 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000172/1.183, allocations: 37.72 kB / 1.387 GB, free: 3.992 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/1.183, allocations: 24.64 kB / 1.387 GB, free: 3.98 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/1.183, allocations: 0 / 1.387 GB, free: 3.98 MB / 1.061 GB Notification: Performance of Templates: time 0.01077/1.194, allocations: 5.487 MB / 1.393 GB, free: 1.227 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.149814935401082]