Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001108/0.001108, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001626/0.001626, allocations: 173 kB / 24.28 MB, free: 272 kB / 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.9556/0.9556, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.731/1.731, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.88e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002495/0.002524, allocations: 1.945 MB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.1308, allocations: 151.2 MB / 0.9366 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.131, allocations: 0 / 0.9366 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.1311, allocations: 31.73 kB / 0.9366 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1314, allocations: 83.28 kB / 0.9367 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.132, allocations: 270.9 kB / 0.937 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.1322, allocations: 279 kB / 0.9372 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1324, allocations: 46.59 kB / 0.9373 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1334, allocations: 361.8 kB / 0.9376 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1335, allocations: 79.77 kB / 0.9377 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.1336, allocations: 16 kB / 0.9377 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.1338, allocations: 175.7 kB / 0.9379 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.1339, allocations: 43.88 kB / 0.9379 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.1339, allocations: 67.83 kB / 0.938 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.1343, allocations: 271.1 kB / 0.9383 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1343, allocations: 0 / 0.9383 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1343, allocations: 0 / 0.9383 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1343, allocations: 0 / 0.9383 GB, free: 1.602 MB / 0.8855 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.0007108/0.135, allocations: 0.562 MB / 0.9388 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1351, allocations: 8.031 kB / 0.9388 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008628/0.1359, allocations: 143.5 kB / 0.9389 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1362, allocations: 176.8 kB / 0.9391 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.1362, allocations: 71.67 kB / 0.9392 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.1363, allocations: 19.94 kB / 0.9392 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.1366, allocations: 309.3 kB / 0.9395 GB, free: 204 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1367, allocations: 0 / 0.9395 GB, free: 204 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.1367, allocations: 12 kB / 0.9395 GB, free: 192 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1367, allocations: 4 kB / 0.9395 GB, free: 188 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.1369, allocations: 99.78 kB / 0.9396 GB, free: 88 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.138, allocations: 1.413 MB / 0.941 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.1385, allocations: 159.2 kB / 0.9411 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.123e-05/0.1386, allocations: 51.55 kB / 0.9412 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1386, allocations: 0 / 0.9412 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1386, allocations: 41.39 kB / 0.9412 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1386, allocations: 3.938 kB / 0.9412 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12): time 0.0015/0.1401, allocations: 400.5 kB / 0.9416 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.1402, allocations: 55.41 kB / 0.9417 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1403, allocations: 230.6 kB / 0.9419 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1404, allocations: 29.7 kB / 0.9419 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.1404, allocations: 182.9 kB / 0.9421 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1405, allocations: 51.58 kB / 0.9421 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.1406, allocations: 63.23 kB / 0.9422 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1407, allocations: 0.4884 MB / 0.9427 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.1408, allocations: 39.91 kB / 0.9427 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1409, allocations: 148.5 kB / 0.9429 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.1411, allocations: 163.3 kB / 0.943 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1411, allocations: 0 / 0.943 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007982/0.1419, allocations: 300.5 kB / 0.9433 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1419, allocations: 4 kB / 0.9433 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1419, allocations: 4 kB / 0.9433 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.1429, allocations: 243.3 kB / 0.9435 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1431, allocations: 43.91 kB / 0.9436 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.1458, allocations: 3.789 MB / 0.9473 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.146, allocations: 27.88 kB / 0.9473 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.146, allocations: 16.02 kB / 0.9473 GB, free: 7.66 MB / 0.9011 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.0001068/0.1461, allocations: 168.5 kB / 0.9475 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.1462, allocations: 15.91 kB / 0.9475 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007224/0.1469, allocations: 310 kB / 0.9478 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1469, allocations: 0 / 0.9478 GB, free: 7.152 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1469, allocations: 3.938 kB / 0.9478 GB, free: 7.148 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1469, allocations: 0 / 0.9478 GB, free: 7.148 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.1471, allocations: 192.5 kB / 0.948 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1471, allocations: 0 / 0.948 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.201e-05/0.1472, allocations: 19.98 kB / 0.948 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007799/0.148, allocations: 223.1 kB / 0.9482 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.148, allocations: 4 kB / 0.9482 GB, free: 6.676 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.1505, allocations: 3.827 MB / 0.952 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1505, allocations: 3.984 kB / 0.952 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.1512, allocations: 429.1 kB / 0.9524 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.1513, allocations: 31.86 kB / 0.9524 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1513, allocations: 12.25 kB / 0.9524 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1514, allocations: 15.98 kB / 0.9524 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.1515, allocations: 19.95 kB / 0.9524 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1515, allocations: 8 kB / 0.9524 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.674e-05/0.1516, allocations: 168.7 kB / 0.9526 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.1516, allocations: 0 / 0.9526 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003611/0.152, allocations: 83.83 kB / 0.9527 GB, free: 1.812 MB / 0.9011 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.0001652/0.1521, allocations: 115.2 kB / 0.9528 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006217/0.1528, allocations: 499.4 kB / 0.9533 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1528, allocations: 4 kB / 0.9533 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.1532, allocations: 439.2 kB / 0.9537 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1535, allocations: 62.52 kB / 0.9538 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1545, allocations: 420.6 kB / 0.9542 GB, free: 196 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.728e-05/0.1546, allocations: 88.25 kB / 0.9542 GB, free: 88 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.1547, allocations: 25.48 kB / 0.9543 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.1547, allocations: 24.48 kB / 0.9543 GB, free: 36 kB / 0.9011 GB Notification: Performance of SimCode: time 7.92e-07/0.1547, allocations: 4 kB / 0.9543 GB, free: 32 kB / 0.9011 GB Notification: Performance of Templates: time 0.007677/0.1624, allocations: 5.004 MB / 0.9592 GB, free: 11.11 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.344672524137422]