Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001314/0.001314, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001709/0.001709, allocations: 161.4 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 0.9416/0.9416, allocations: 177.1 MB / 204.2 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.691/1.691, allocations: 359 MB / 0.6052 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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.347e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01076/0.01079, allocations: 9.864 MB / 0.7967 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007539/0.01833, allocations: 6.015 MB / 0.8026 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007979/0.01913, allocations: 92.09 kB / 0.8027 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009032/0.02003, allocations: 377.1 kB / 0.803 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.02243, allocations: 1.429 MB / 0.8044 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.02349, allocations: 0.6479 MB / 0.8051 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002537/0.02603, allocations: 2.618 MB / 0.8076 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.02746, allocations: 1.185 MB / 0.8088 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.0289, allocations: 1.586 MB / 0.8103 GB, free: 4.664 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009032/0.0298, allocations: 1.013 MB / 0.8113 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.02997, allocations: 160 kB / 0.8115 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/0.03059, allocations: 327.6 kB / 0.8118 GB, free: 3.172 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.03097, allocations: 0.6504 MB / 0.8124 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000448/0.03142, allocations: 0.6429 MB / 0.8131 GB, free: 1.875 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.03256, allocations: 1.526 MB / 0.8145 GB, free: 352 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.03256, allocations: 0 / 0.8145 GB, free: 352 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.172e-06/0.03256, allocations: 0 / 0.8145 GB, free: 352 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.03258, allocations: 0 / 0.8145 GB, free: 352 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002042/0.03462, allocations: 2.151 MB / 0.8166 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.03465, allocations: 16.02 kB / 0.8167 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/0.03885, allocations: 1.747 MB / 0.8184 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.04028, allocations: 1.196 MB / 0.8195 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.04033, allocations: 90.73 kB / 0.8196 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.04049, allocations: 124.3 kB / 0.8197 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.04264, allocations: 1.956 MB / 0.8216 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.04268, allocations: 11.88 kB / 0.8217 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.04279, allocations: 55.98 kB / 0.8217 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003482/0.04313, allocations: 178.1 kB / 0.8219 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.04437, allocations: 0.8369 MB / 0.8227 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006812/0.05118, allocations: 8.419 MB / 0.8309 GB, free: 15 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.05264, allocations: 0.8075 MB / 0.8317 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.05315, allocations: 362.5 kB / 0.8321 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.05321, allocations: 13 kB / 0.8321 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.05325, allocations: 46.39 kB / 0.8321 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 4.017e-06/0.05326, allocations: 0 / 0.8321 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.009394/0.06265, allocations: 4.997 MB / 0.837 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.06269, allocations: 68.66 kB / 0.8371 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.06344, allocations: 0.9447 MB / 0.838 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.06353, allocations: 45.7 kB / 0.838 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.0639, allocations: 0.7931 MB / 0.8388 GB, free: 6.832 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.06418, allocations: 479.9 kB / 0.8393 GB, free: 6.359 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.0645, allocations: 261.1 kB / 0.8395 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004423/0.06494, allocations: 0.5355 MB / 0.84 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.06552, allocations: 415.8 kB / 0.8404 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/0.06628, allocations: 0.7727 MB / 0.8412 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.06763, allocations: 1.219 MB / 0.8424 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.06764, allocations: 4 kB / 0.8424 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003853/0.07149, allocations: 2.384 MB / 0.8447 GB, free: 456 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.07151, allocations: 8 kB / 0.8447 GB, free: 448 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.07152, allocations: 8 kB / 0.8447 GB, free: 440 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003804/0.07533, allocations: 1.436 MB / 0.8461 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.07607, allocations: 323.4 kB / 0.8464 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/0.09173, allocations: 26.52 MB / 0.8723 GB, free: 2.512 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.09273, allocations: 203.6 kB / 0.8725 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.09282, allocations: 63.97 kB / 0.8726 GB, free: 2.25 MB / 0.823 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004361/0.09326, allocations: 232.4 kB / 0.8728 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.09349, allocations: 199 kB / 0.873 GB, free: 1.816 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/0.0974, allocations: 2.263 MB / 0.8752 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.09741, allocations: 15.98 kB / 0.8752 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/0.09744, allocations: 16 kB / 0.8752 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.09744, allocations: 11.92 kB / 0.8752 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/0.1028, allocations: 3.765 MB / 0.8789 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1028, allocations: 4 kB / 0.8789 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.1034, allocations: 271.9 kB / 0.8792 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003632/0.1071, allocations: 1.381 MB / 0.8805 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.1072, allocations: 35.97 kB / 0.8806 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/0.1209, allocations: 25.72 MB / 0.9057 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1209, allocations: 4 kB / 0.9057 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/0.1244, allocations: 2.283 MB / 0.9079 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.1248, allocations: 366.8 kB / 0.9083 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.1249, allocations: 24 kB / 0.9083 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/0.1256, allocations: 195.7 kB / 0.9085 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/0.126, allocations: 132.6 kB / 0.9086 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.126, allocations: 51.95 kB / 0.9087 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004768/0.1265, allocations: 0.5841 MB / 0.9092 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1265, allocations: 0 / 0.9092 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001571/0.1281, allocations: 0.5859 MB / 0.9098 GB, free: 10.12 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.1283, allocations: 141.5 kB / 0.9099 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.1319, allocations: 3.908 MB / 0.9138 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1319, allocations: 0 / 0.9138 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002556/0.1344, allocations: 3.288 MB / 0.917 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.1356, allocations: 0.5119 MB / 0.9175 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.1392, allocations: 3.024 MB / 0.9204 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1396, allocations: 459.1 kB / 0.9209 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007298/0.1404, allocations: 348.3 kB / 0.9212 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.1406, allocations: 108.4 kB / 0.9213 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/0.1406, allocations: 0 / 0.9213 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.04393/0.1846, allocations: 43.79 MB / 0.9641 GB, free: 2.73 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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.733714711852372]