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.000974/0.000974, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009817/0.0009817, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 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 0.942/0.942, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.839/1.839, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.3e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002281/0.002304, allocations: 1.948 MB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1255/0.1278, allocations: 147.6 MB / 0.9576 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.128, allocations: 3.938 kB / 0.9576 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1282, allocations: 23.73 kB / 0.9576 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1285, allocations: 79.34 kB / 0.9577 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.1291, allocations: 270.9 kB / 0.958 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.1293, allocations: 275 kB / 0.9582 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1295, allocations: 42.61 kB / 0.9583 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1305, allocations: 358.4 kB / 0.9586 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1306, allocations: 79.78 kB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.1307, allocations: 16 kB / 0.9587 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.1309, allocations: 183.6 kB / 0.9589 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.131, allocations: 39.89 kB / 0.9589 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.131, allocations: 67.83 kB / 0.959 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.1314, allocations: 267.1 kB / 0.9592 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1314, allocations: 0 / 0.9592 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1314, allocations: 0 / 0.9592 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1314, allocations: 0 / 0.9592 GB, free: 10.06 MB / 0.9167 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.0006663/0.1321, allocations: 0.5544 MB / 0.9598 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1321, allocations: 8.031 kB / 0.9598 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006575/0.1328, allocations: 155.5 kB / 0.9599 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.133, allocations: 175.7 kB / 0.9601 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.1331, allocations: 67.73 kB / 0.9602 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1331, allocations: 12 kB / 0.9602 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1335, allocations: 317.3 kB / 0.9605 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1335, allocations: 0 / 0.9605 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1335, allocations: 8 kB / 0.9605 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1335, allocations: 7.938 kB / 0.9605 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1337, allocations: 103.8 kB / 0.9606 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1347, allocations: 1.409 MB / 0.962 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.1351, allocations: 167.1 kB / 0.9621 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.1352, allocations: 43.66 kB / 0.9622 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1352, allocations: 11.88 kB / 0.9622 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1352, allocations: 37.39 kB / 0.9622 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.1352, allocations: 4 kB / 0.9622 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.001149/0.1364, allocations: 396.5 kB / 0.9626 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.1364, allocations: 51.41 kB / 0.9627 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1366, allocations: 238.9 kB / 0.9629 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1366, allocations: 29.7 kB / 0.9629 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.1367, allocations: 194.9 kB / 0.9631 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1367, allocations: 39.64 kB / 0.9631 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.1368, allocations: 55.3 kB / 0.9632 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1369, allocations: 0.4962 MB / 0.9637 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.137, allocations: 31.97 kB / 0.9637 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.1371, allocations: 117.3 kB / 0.9638 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1373, allocations: 149.4 kB / 0.964 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1373, allocations: 4 kB / 0.964 GB, free: 4.859 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006031/0.1379, allocations: 298.5 kB / 0.9642 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1379, allocations: 4.219 kB / 0.9643 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1379, allocations: 8 kB / 0.9643 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007705/0.1387, allocations: 251.1 kB / 0.9645 GB, free: 4.289 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.1388, allocations: 31.92 kB / 0.9645 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.1412, allocations: 3.798 MB / 0.9682 GB, free: 204 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1414, allocations: 23.86 kB / 0.9683 GB, free: 180 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1414, allocations: 19.98 kB / 0.9683 GB, free: 160 kB / 0.9167 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 9.436e-05/0.1415, allocations: 160.6 kB / 0.9684 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1415, allocations: 19.91 kB / 0.9685 GB, free: 15.97 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.142, allocations: 308.3 kB / 0.9687 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.142, allocations: 0 / 0.9687 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.142, allocations: 0 / 0.9687 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1421, allocations: 0 / 0.9687 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.1422, allocations: 204.3 kB / 0.9689 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1422, allocations: 0 / 0.9689 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.1423, allocations: 19.98 kB / 0.969 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/0.1429, allocations: 219.2 kB / 0.9692 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1429, allocations: 0 / 0.9692 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.1448, allocations: 3.833 MB / 0.9729 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1448, allocations: 8.016 kB / 0.9729 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.1456, allocations: 418.8 kB / 0.9733 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.1456, allocations: 35.81 kB / 0.9734 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1457, allocations: 4 kB / 0.9734 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1458, allocations: 15.88 kB / 0.9734 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.1458, allocations: 23.95 kB / 0.9734 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1458, allocations: 4 kB / 0.9734 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 7.764e-05/0.1459, allocations: 163.1 kB / 0.9736 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.1459, allocations: 0 / 0.9736 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002928/0.1462, allocations: 79.89 kB / 0.9736 GB, free: 10.32 MB / 0.9323 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.0001628/0.1464, allocations: 115.2 kB / 0.9737 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.1469, allocations: 0.4895 MB / 0.9742 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1469, allocations: 0 / 0.9742 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1472, allocations: 454.2 kB / 0.9747 GB, free: 9.195 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1475, allocations: 47.89 kB / 0.9747 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008613/0.1483, allocations: 412.8 kB / 0.9751 GB, free: 8.719 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.1484, allocations: 80.33 kB / 0.9752 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 9.922e-05/0.1485, allocations: 33.47 kB / 0.9752 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.1485, allocations: 28.42 kB / 0.9752 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of SimCode: time 9.52e-07/0.1485, allocations: 0 / 0.9752 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of Templates: time 0.007131/0.1557, allocations: 5.198 MB / 0.9803 GB, free: 3.453 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.410870970226824]