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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 107.4 kB / 18.19 MB, free: 4.117 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.002137/0.002137, allocations: 193.9 kB / 21.34 MB, free: 0.9766 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.415/1.415, allocations: 225.6 MB / 249.9 MB, free: 3.195 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.844/2.844, allocations: 489.7 MB / 0.7761 GB, free: 2.559 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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,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=506,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.00198/0.00198, allocations: 63.89 kB / 1.127 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9775/0.9795, allocations: 172.1 MB / 1.295 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003598/0.9831, allocations: 1.924 MB / 1.297 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2103/1.193, allocations: 155.9 MB / 1.449 GB, free: 1.309 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/1.194, allocations: 4 kB / 1.449 GB, free: 1.305 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003912/1.194, allocations: 23.73 kB / 1.449 GB, free: 1.281 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0007883/1.195, allocations: 83.41 kB / 1.449 GB, free: 1.199 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/1.196, allocations: 255.1 kB / 1.449 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007144/1.197, allocations: 275.1 kB / 1.45 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/1.197, allocations: 46.42 kB / 1.45 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/1.199, allocations: 260.8 kB / 1.45 GB, free: 420 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/1.2, allocations: 91.61 kB / 1.45 GB, free: 328 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/1.2, allocations: 12 kB / 1.45 GB, free: 316 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/1.2, allocations: 187.7 kB / 1.45 GB, free: 128 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/1.201, allocations: 51.75 kB / 1.45 GB, free: 76 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/1.201, allocations: 87.67 kB / 1.45 GB, free: 15.98 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007739/1.201, allocations: 301.4 kB / 1.451 GB, free: 15.7 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.201, allocations: 0 / 1.451 GB, free: 15.7 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.673e-06/1.201, allocations: 0 / 1.451 GB, free: 15.7 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.201, allocations: 0 / 1.451 GB, free: 15.7 MB / 1.139 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.001221/1.203, allocations: 0.5219 MB / 1.451 GB, free: 15.12 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.203, allocations: 12.03 kB / 1.451 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/1.204, allocations: 87.77 kB / 1.451 GB, free: 15.03 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/1.204, allocations: 230.7 kB / 1.451 GB, free: 14.76 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/1.204, allocations: 41.97 kB / 1.451 GB, free: 14.71 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/1.204, allocations: 16 kB / 1.451 GB, free: 14.7 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/1.205, allocations: 262.6 kB / 1.452 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.205, allocations: 0 / 1.452 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/1.205, allocations: 8 kB / 1.452 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.205, allocations: 4 kB / 1.452 GB, free: 14.4 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/1.205, allocations: 171.7 kB / 1.452 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/1.207, allocations: 1.181 MB / 1.453 GB, free: 12.98 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/1.208, allocations: 198.6 kB / 1.453 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/1.208, allocations: 64.83 kB / 1.453 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/1.208, allocations: 4 kB / 1.453 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/1.208, allocations: 34.55 kB / 1.453 GB, free: 12.66 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/1.208, allocations: 4 kB / 1.453 GB, free: 12.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.00276/1.211, allocations: 0.622 MB / 1.454 GB, free: 11.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.211, allocations: 51.41 kB / 1.454 GB, free: 11.92 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/1.211, allocations: 219 kB / 1.454 GB, free: 11.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/1.211, allocations: 33.64 kB / 1.454 GB, free: 11.66 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/1.211, allocations: 144.1 kB / 1.454 GB, free: 11.52 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/1.211, allocations: 35.69 kB / 1.454 GB, free: 11.48 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.212, allocations: 53.62 kB / 1.454 GB, free: 11.42 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.212, allocations: 330.8 kB / 1.455 GB, free: 11.09 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/1.212, allocations: 71.95 kB / 1.455 GB, free: 11.02 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/1.212, allocations: 129.7 kB / 1.455 GB, free: 10.87 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/1.213, allocations: 202.7 kB / 1.455 GB, free: 10.64 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.213, allocations: 8 kB / 1.455 GB, free: 10.64 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001476/1.214, allocations: 367 kB / 1.456 GB, free: 10.27 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.214, allocations: 4 kB / 1.456 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.214, allocations: 0 / 1.456 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.215, allocations: 161.6 kB / 1.456 GB, free: 10.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.215, allocations: 51.81 kB / 1.456 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/1.22, allocations: 3.246 MB / 1.459 GB, free: 6.516 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/1.22, allocations: 27.94 kB / 1.459 GB, free: 6.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/1.22, allocations: 15.98 kB / 1.459 GB, free: 6.473 MB / 1.139 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.0001692/1.22, allocations: 134.2 kB / 1.459 GB, free: 6.332 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/1.22, allocations: 19.86 kB / 1.459 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/1.222, allocations: 376.2 kB / 1.459 GB, free: 5.926 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.222, allocations: 3.938 kB / 1.459 GB, free: 5.922 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/1.222, allocations: 4 kB / 1.459 GB, free: 5.918 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.222, allocations: 4 kB / 1.459 GB, free: 5.914 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/1.222, allocations: 277.4 kB / 1.46 GB, free: 5.594 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.222, allocations: 0 / 1.46 GB, free: 5.594 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/1.222, allocations: 19.98 kB / 1.46 GB, free: 5.574 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008352/1.223, allocations: 137.6 kB / 1.46 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/1.223, allocations: 4 kB / 1.46 GB, free: 5.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/1.227, allocations: 3.312 MB / 1.463 GB, free: 1.832 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.227, allocations: 0 / 1.463 GB, free: 1.832 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/1.228, allocations: 438.2 kB / 1.464 GB, free: 1.383 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/1.229, allocations: 116.8 kB / 1.464 GB, free: 1.25 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/1.229, allocations: 4.188 kB / 1.464 GB, free: 1.246 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/1.229, allocations: 11.98 kB / 1.464 GB, free: 1.234 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/1.229, allocations: 27.89 kB / 1.464 GB, free: 1.207 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/1.229, allocations: 4 kB / 1.464 GB, free: 1.203 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002072/1.229, allocations: 159.2 kB / 1.464 GB, free: 1.047 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.229, allocations: 4 kB / 1.464 GB, free: 1.043 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004542/1.23, allocations: 75.88 kB / 1.464 GB, free: 0.9688 MB / 1.139 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.0002237/1.23, allocations: 115.1 kB / 1.464 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.231, allocations: 447.6 kB / 1.464 GB, free: 392 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.231, allocations: 0 / 1.464 GB, free: 392 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007019/1.232, allocations: 345.3 kB / 1.465 GB, free: 20 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/1.232, allocations: 56.02 kB / 1.465 GB, free: 15.96 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/1.233, allocations: 469.2 kB / 1.465 GB, free: 15.47 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/1.234, allocations: 0.7285 MB / 1.466 GB, free: 14.72 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/1.234, allocations: 27.42 kB / 1.466 GB, free: 14.69 MB / 1.154 GB Notification: Performance of SimCode: time 4.81e-07/1.234, allocations: 0 / 1.466 GB, free: 14.69 MB / 1.154 GB Notification: Performance of Templates: time 0.007872/1.242, allocations: 4.438 MB / 1.47 GB, free: 10.27 MB / 1.154 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] 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/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