Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001308/0.001307, allocations: 114.8 kB / 17.08 MB, free: 5.926 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.001391/0.001391, allocations: 191.7 kB / 20.03 MB, free: 3.004 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.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.956/2.956, allocations: 489.3 MB / 0.7687 GB, free: 3.773 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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9554/0.9573, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002937/0.9603, allocations: 1.925 MB / 1.264 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2108/1.171, allocations: 155.4 MB / 1.416 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/1.171, allocations: 2.219 kB / 1.416 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000223/1.172, allocations: 25.27 kB / 1.416 GB, free: 3.27 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004261/1.172, allocations: 76.62 kB / 1.416 GB, free: 3.207 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/1.173, allocations: 263.1 kB / 1.417 GB, free: 3.008 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006046/1.174, allocations: 267.6 kB / 1.417 GB, free: 2.852 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/1.174, allocations: 73.19 kB / 1.417 GB, free: 2.805 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/1.176, allocations: 235.3 kB / 1.417 GB, free: 2.703 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/1.177, allocations: 96.81 kB / 1.417 GB, free: 2.637 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/1.177, allocations: 15.81 kB / 1.417 GB, free: 2.637 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/1.177, allocations: 182.8 kB / 1.417 GB, free: 2.551 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/1.177, allocations: 35.62 kB / 1.417 GB, free: 2.523 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/1.177, allocations: 97.84 kB / 1.418 GB, free: 2.457 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007016/1.178, allocations: 289.4 kB / 1.418 GB, free: 2.277 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.178, allocations: 0 / 1.418 GB, free: 2.277 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.645e-06/1.178, allocations: 0 / 1.418 GB, free: 2.277 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.954e-06/1.178, allocations: 1.125 kB / 1.418 GB, free: 2.277 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001339/1.18, allocations: 0.5375 MB / 1.418 GB, free: 1.777 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/1.18, allocations: 9.906 kB / 1.418 GB, free: 1.777 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009633/1.181, allocations: 84.94 kB / 1.418 GB, free: 1.742 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/1.181, allocations: 246.1 kB / 1.419 GB, free: 1.484 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.181, allocations: 37.72 kB / 1.419 GB, free: 1.449 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/1.181, allocations: 13.88 kB / 1.419 GB, free: 1.445 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/1.182, allocations: 259.7 kB / 1.419 GB, free: 1.242 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.182, allocations: 5.438 kB / 1.419 GB, free: 1.238 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/1.182, allocations: 10.31 kB / 1.419 GB, free: 1.23 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/1.182, allocations: 4.406 kB / 1.419 GB, free: 1.23 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/1.182, allocations: 169.3 kB / 1.419 GB, free: 1.148 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/1.185, allocations: 1.18 MB / 1.42 GB, free: 40 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/1.186, allocations: 211.3 kB / 1.42 GB, free: 15.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/1.186, allocations: 71.75 kB / 1.421 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/1.186, allocations: 5.156 kB / 1.421 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.186, allocations: 35.69 kB / 1.421 GB, free: 15.85 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/1.186, allocations: 1.156 kB / 1.421 GB, free: 15.85 MB / 1.123 GB Notification: Performance of matching and sorting (n=12): time 0.002904/1.189, allocations: 0.6231 MB / 1.421 GB, free: 15.41 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.189, allocations: 53.28 kB / 1.421 GB, free: 15.34 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/1.189, allocations: 224.1 kB / 1.421 GB, free: 15.18 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/1.189, allocations: 30.77 kB / 1.421 GB, free: 15.14 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.189, allocations: 144.4 kB / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/1.189, allocations: 45.78 kB / 1.422 GB, free: 14.96 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.19, allocations: 44.72 kB / 1.422 GB, free: 14.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.19, allocations: 331 kB / 1.422 GB, free: 14.6 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/1.19, allocations: 67.19 kB / 1.422 GB, free: 14.57 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/1.19, allocations: 131.2 kB / 1.422 GB, free: 14.46 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/1.191, allocations: 197.1 kB / 1.422 GB, free: 14.32 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.191, allocations: 4 kB / 1.422 GB, free: 14.31 MB / 1.123 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001541/1.192, allocations: 374.8 kB / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/1.192, allocations: 9.5 kB / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.192, allocations: 2.812 kB / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.193, allocations: 160.4 kB / 1.423 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/1.194, allocations: 38.56 kB / 1.423 GB, free: 14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004682/1.198, allocations: 3.249 MB / 1.426 GB, free: 10.81 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/1.199, allocations: 42.05 kB / 1.426 GB, free: 10.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/1.199, allocations: 7.375 kB / 1.426 GB, free: 10.79 MB / 1.123 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.0001819/1.199, allocations: 141.4 kB / 1.426 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/1.199, allocations: 21 kB / 1.426 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/1.201, allocations: 370.6 kB / 1.427 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/1.201, allocations: 1.531 kB / 1.427 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/1.201, allocations: 0 / 1.427 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.201, allocations: 7.984 kB / 1.427 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/1.201, allocations: 274.6 kB / 1.427 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.201, allocations: 0 / 1.427 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/1.201, allocations: 24.27 kB / 1.427 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008607/1.202, allocations: 140 kB / 1.427 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/1.202, allocations: 5.25 kB / 1.427 GB, free: 10.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/1.206, allocations: 3.308 MB / 1.43 GB, free: 6.82 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.206, allocations: 0 / 1.43 GB, free: 6.82 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/1.208, allocations: 435 kB / 1.431 GB, free: 6.523 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/1.208, allocations: 119.4 kB / 1.431 GB, free: 6.398 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/1.208, allocations: 1.188 kB / 1.431 GB, free: 6.398 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/1.208, allocations: 15.86 kB / 1.431 GB, free: 6.391 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/1.208, allocations: 19.58 kB / 1.431 GB, free: 6.379 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/1.208, allocations: 7.828 kB / 1.431 GB, free: 6.375 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002271/1.209, allocations: 157.1 kB / 1.431 GB, free: 6.262 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/1.209, allocations: 4 kB / 1.431 GB, free: 6.258 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004623/1.209, allocations: 74.45 kB / 1.431 GB, free: 6.242 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 (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.0002118/1.209, allocations: 112.9 kB / 1.431 GB, free: 6.145 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001169/1.211, allocations: 449.2 kB / 1.432 GB, free: 5.809 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.211, allocations: 0 / 1.432 GB, free: 5.809 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/1.211, allocations: 361.7 kB / 1.432 GB, free: 5.512 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/1.212, allocations: 55.09 kB / 1.432 GB, free: 5.48 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.213, allocations: 459.8 kB / 1.433 GB, free: 5.172 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/1.213, allocations: 0.7323 MB / 1.433 GB, free: 4.453 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/1.213, allocations: 27.33 kB / 1.433 GB, free: 4.438 MB / 1.123 GB Notification: Performance of SimCode: time 4.31e-07/1.213, allocations: 0 / 1.433 GB, free: 4.438 MB / 1.123 GB Notification: Performance of Templates: time 0.007721/1.221, allocations: 4.421 MB / 1.438 GB, free: 2.113 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.2485171421431]