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.0013/0.0013, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.004581/0.004581, allocations: 164 kB / 24.86 MB, free: 9.289 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.9789/0.9789, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.827/1.827, allocations: 359 MB / 0.6063 GB, free: 10.92 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.803e-06/1.803e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.106e-05, allocations: 4.703 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003416/0.003447, allocations: 1.936 MB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1294/0.1329, allocations: 144.9 MB / 0.9317 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.133, allocations: 4 kB / 0.9317 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1332, allocations: 23.73 kB / 0.9317 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1335, allocations: 87.28 kB / 0.9318 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.134, allocations: 263 kB / 0.932 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.1343, allocations: 271 kB / 0.9323 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1344, allocations: 42.61 kB / 0.9323 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.1354, allocations: 370.7 kB / 0.9327 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1356, allocations: 67.84 kB / 0.9327 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.1356, allocations: 16 kB / 0.9328 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.1359, allocations: 187.6 kB / 0.9329 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.1359, allocations: 47.77 kB / 0.933 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.136, allocations: 63.81 kB / 0.933 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.1363, allocations: 267.1 kB / 0.9333 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1363, allocations: 0 / 0.9333 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1363, allocations: 0 / 0.9333 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1364, allocations: 0 / 0.9333 GB, free: 7.344 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.0006193/0.137, allocations: 0.5544 MB / 0.9338 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.137, allocations: 8.031 kB / 0.9338 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006371/0.1376, allocations: 151.6 kB / 0.934 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1379, allocations: 178 kB / 0.9342 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.1379, allocations: 67.73 kB / 0.9342 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.138, allocations: 19.94 kB / 0.9342 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.1382, allocations: 301.3 kB / 0.9345 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1383, allocations: 3.938 kB / 0.9345 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.1383, allocations: 12 kB / 0.9345 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1383, allocations: 7.938 kB / 0.9346 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.1384, allocations: 79.88 kB / 0.9346 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.1393, allocations: 1.375 MB / 0.936 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1396, allocations: 151.1 kB / 0.9361 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.1397, allocations: 39.61 kB / 0.9362 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1397, allocations: 4 kB / 0.9362 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.1397, allocations: 33.39 kB / 0.9362 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1397, allocations: 0 / 0.9362 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.001116/0.1408, allocations: 388.4 kB / 0.9366 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.1409, allocations: 55.34 kB / 0.9366 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.141, allocations: 226.6 kB / 0.9368 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.141, allocations: 29.7 kB / 0.9369 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.1411, allocations: 198.8 kB / 0.937 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1411, allocations: 43.64 kB / 0.9371 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.1412, allocations: 51.28 kB / 0.9371 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1413, allocations: 0.4962 MB / 0.9376 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.1413, allocations: 27.97 kB / 0.9377 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.1414, allocations: 101.5 kB / 0.9377 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1416, allocations: 149.3 kB / 0.9379 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1416, allocations: 4 kB / 0.9379 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005789/0.1421, allocations: 272.7 kB / 0.9382 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1422, allocations: 4 kB / 0.9382 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1422, allocations: 8 kB / 0.9382 GB, free: 1.984 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007536/0.1429, allocations: 243.1 kB / 0.9384 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.143, allocations: 35.91 kB / 0.9384 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.1453, allocations: 3.751 MB / 0.9421 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1454, allocations: 27.91 kB / 0.9421 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1454, allocations: 11.98 kB / 0.9421 GB, free: 13.68 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.0001021/0.1455, allocations: 168.5 kB / 0.9423 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1455, allocations: 19.91 kB / 0.9423 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.1461, allocations: 288.9 kB / 0.9426 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1461, allocations: 0 / 0.9426 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1461, allocations: 0 / 0.9426 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1461, allocations: 4 kB / 0.9426 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1462, allocations: 161.1 kB / 0.9427 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1462, allocations: 0 / 0.9427 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.1463, allocations: 23.92 kB / 0.9428 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005916/0.1469, allocations: 215.1 kB / 0.943 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1469, allocations: 8 kB / 0.943 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.1489, allocations: 3.766 MB / 0.9467 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1489, allocations: 4.031 kB / 0.9467 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.1494, allocations: 410.7 kB / 0.9471 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1495, allocations: 27.83 kB / 0.9471 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1495, allocations: 4 kB / 0.9471 GB, free: 8.277 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1496, allocations: 11.98 kB / 0.9471 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.1496, allocations: 15.97 kB / 0.9471 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1497, allocations: 7.984 kB / 0.9471 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.1497, allocations: 164.7 kB / 0.9473 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.1e-08/0.1497, allocations: 3.938 kB / 0.9473 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003026/0.15, allocations: 79.89 kB / 0.9474 GB, free: 8 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.0001583/0.1502, allocations: 111.2 kB / 0.9475 GB, free: 7.879 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.1507, allocations: 488.7 kB / 0.9479 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1507, allocations: 3.938 kB / 0.9479 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.151, allocations: 453.7 kB / 0.9484 GB, free: 6.879 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1512, allocations: 44.33 kB / 0.9484 GB, free: 6.836 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.152, allocations: 418.9 kB / 0.9488 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.1521, allocations: 84.31 kB / 0.9489 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.811e-05/0.1522, allocations: 37.41 kB / 0.9489 GB, free: 6.258 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1523, allocations: 114.2 kB / 0.949 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of SimCode: time 9.32e-07/0.1523, allocations: 0 / 0.949 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of Templates: time 0.006664/0.1589, allocations: 5.372 MB / 0.9543 GB, free: 0.8555 MB / 0.9011 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.459870477207005]