Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.00144/0.00144, allocations: 87.58 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.001369/0.001369, allocations: 161 kB / 23.82 MB, free: 0.7539 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 1.078/1.078, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.913/1.913, allocations: 359 MB / 0.6052 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] 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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/3.947e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007272/0.007311, allocations: 4.883 MB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004126/0.01144, allocations: 1.73 MB / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006483/0.01209, allocations: 43.62 kB / 0.7936 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.01301, allocations: 210.5 kB / 0.7938 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.0141, allocations: 440.9 kB / 0.7942 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.01523, allocations: 406 kB / 0.7946 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.01705, allocations: 1.283 MB / 0.7959 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.01815, allocations: 0.5305 MB / 0.7964 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.01935, allocations: 0.6625 MB / 0.797 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008184/0.02017, allocations: 483.2 kB / 0.7975 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.02033, allocations: 68.53 kB / 0.7976 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.02075, allocations: 143.8 kB / 0.7977 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.02108, allocations: 336 kB / 0.798 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.02148, allocations: 311.2 kB / 0.7983 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.02259, allocations: 0.7481 MB / 0.799 GB, free: 220 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.0226, allocations: 0 / 0.799 GB, free: 220 kB / 0.7448 GB Notification: Performance of FrontEnd: time 2.725e-06/0.0226, allocations: 0.5312 kB / 0.799 GB, free: 220 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.779e-05/0.02263, allocations: 0 / 0.799 GB, free: 220 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001871/0.0245, allocations: 1.188 MB / 0.8002 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.02456, allocations: 8.531 kB / 0.8002 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.02603, allocations: 353.5 kB / 0.8005 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.02705, allocations: 0.5623 MB / 0.8011 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.0271, allocations: 49.67 kB / 0.8011 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.02722, allocations: 64.86 kB / 0.8012 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.02853, allocations: 1.08 MB / 0.8023 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.02856, allocations: 4.75 kB / 0.8023 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.02863, allocations: 32.92 kB / 0.8023 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.0288, allocations: 93.12 kB / 0.8024 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.02956, allocations: 354.7 kB / 0.8027 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004958/0.03452, allocations: 5.719 MB / 0.8083 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/0.03528, allocations: 288.6 kB / 0.8086 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.03556, allocations: 138.2 kB / 0.8087 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/0.03561, allocations: 8.5 kB / 0.8087 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.03565, allocations: 46.95 kB / 0.8088 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 5.43e-06/0.03566, allocations: 0 / 0.8088 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.002921/0.03858, allocations: 1.081 MB / 0.8098 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.03863, allocations: 63.91 kB / 0.8099 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.03917, allocations: 0.5297 MB / 0.8104 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.03921, allocations: 37.7 kB / 0.8104 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.0395, allocations: 482.5 kB / 0.8109 GB, free: 3.535 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.03964, allocations: 170.5 kB / 0.8111 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.03982, allocations: 132.2 kB / 0.8112 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.04004, allocations: 0.5391 MB / 0.8117 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.04028, allocations: 113.9 kB / 0.8118 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.04074, allocations: 432.6 kB / 0.8122 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007382/0.04148, allocations: 0.5819 MB / 0.8128 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.04149, allocations: 0 / 0.8128 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001346/0.04283, allocations: 0.7495 MB / 0.8135 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.04287, allocations: 8 kB / 0.8135 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.04288, allocations: 8.094 kB / 0.8135 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.04397, allocations: 302.4 kB / 0.8138 GB, free: 204 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.04438, allocations: 127.7 kB / 0.814 GB, free: 76 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006286/0.05066, allocations: 7.614 MB / 0.8214 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.05121, allocations: 35.97 kB / 0.8214 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.05127, allocations: 35.94 kB / 0.8215 GB, free: 7.895 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.05155, allocations: 204.3 kB / 0.8217 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.05168, allocations: 87.58 kB / 0.8217 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.05269, allocations: 0.5455 MB / 0.8223 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.05269, allocations: 4 kB / 0.8223 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.0527, allocations: 4 kB / 0.8223 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.05271, allocations: 0 / 0.8223 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.0546, allocations: 1.177 MB / 0.8234 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.05461, allocations: 0 / 0.8234 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.05482, allocations: 59.89 kB / 0.8235 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009561/0.05578, allocations: 294.6 kB / 0.8238 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.05581, allocations: 12 kB / 0.8238 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/0.06144, allocations: 7.607 MB / 0.8312 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.06144, allocations: 0 / 0.8312 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.06264, allocations: 0.7324 MB / 0.8319 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.0629, allocations: 103.6 kB / 0.832 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.06296, allocations: 8 kB / 0.832 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.06326, allocations: 31.97 kB / 0.8321 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.06338, allocations: 51.78 kB / 0.8321 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.06342, allocations: 16.03 kB / 0.8321 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003557/0.06377, allocations: 342.8 kB / 0.8324 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.06377, allocations: 0 / 0.8324 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009229/0.0647, allocations: 228 kB / 0.8327 GB, free: 11.73 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.06491, allocations: 115.2 kB / 0.8328 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.06662, allocations: 1.187 MB / 0.8339 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.06662, allocations: 4 kB / 0.8339 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.06768, allocations: 0.9766 MB / 0.8349 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.06864, allocations: 197.5 kB / 0.8351 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.07192, allocations: 1.275 MB / 0.8363 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.07216, allocations: 211.4 kB / 0.8365 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000362/0.07253, allocations: 101.5 kB / 0.8366 GB, free: 7.445 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.07264, allocations: 40.5 kB / 0.8367 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of SimCode: time 1.853e-06/0.07264, allocations: 0 / 0.8367 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of Templates: time 0.01772/0.09036, allocations: 11.46 MB / 0.8479 GB, free: 12.2 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.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: 6.037307934835553]