Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001542/0.001542, allocations: 80.39 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.001828/0.001828, allocations: 164.6 kB / 24.86 MB, free: 8.891 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.9763/0.9763, allocations: 177.1 MB / 205.3 MB, free: 5.125 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.911/1.911, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8128 GB, free: 276 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.461e-05, allocations: 6.172 kB / 0.8128 GB, free: 272 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01838/0.01841, allocations: 18.33 MB / 0.8307 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.02986, allocations: 9.423 MB / 0.8399 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.03236, allocations: 194.5 kB / 0.8401 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.03446, allocations: 0.7754 MB / 0.8409 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005601/0.04006, allocations: 2.597 MB / 0.8434 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.04294, allocations: 1.576 MB / 0.8449 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.007816/0.05075, allocations: 7.701 MB / 0.8524 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006432/0.05718, allocations: 4.589 MB / 0.8569 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007045/0.06423, allocations: 4.908 MB / 0.8617 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004742/0.06897, allocations: 3.289 MB / 0.8649 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.0704, allocations: 0.5898 MB / 0.8655 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.07209, allocations: 0.6833 MB / 0.8662 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002358/0.07445, allocations: 2.545 MB / 0.8687 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.07783, allocations: 2 MB / 0.8706 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00658/0.08441, allocations: 4.842 MB / 0.8753 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.08442, allocations: 0 / 0.8753 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.483e-06/0.08442, allocations: 0 / 0.8753 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002674/0.08469, allocations: 0 / 0.8753 GB, free: 15.98 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.006709/0.0914, allocations: 5.28 MB / 0.8805 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.09143, allocations: 8.031 kB / 0.8805 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/0.09438, allocations: 1.394 MB / 0.8819 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.09773, allocations: 2.73 MB / 0.8845 GB, free: 6.395 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.09791, allocations: 312.8 kB / 0.8848 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007585/0.09867, allocations: 432.3 kB / 0.8852 GB, free: 5.664 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/0.1029, allocations: 4.258 MB / 0.8894 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.237e-05/0.103, allocations: 27.75 kB / 0.8894 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.1033, allocations: 184 kB / 0.8896 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004122/0.1037, allocations: 316.1 kB / 0.8899 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.1056, allocations: 1.297 MB / 0.8912 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.1228, allocations: 19.96 MB / 0.9107 GB, free: 10.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.1234, allocations: 482.4 kB / 0.9111 GB, free: 10.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.1239, allocations: 482.9 kB / 0.9116 GB, free: 9.547 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.388e-05/0.124, allocations: 25.31 kB / 0.9116 GB, free: 9.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.124, allocations: 50.7 kB / 0.9117 GB, free: 9.461 MB / 0.823 GB Notification: Performance of pre-optimization done (n=130): time 4.108e-06/0.1241, allocations: 3.938 kB / 0.9117 GB, free: 9.457 MB / 0.823 GB Notification: Performance of matching and sorting (n=199): time 0.01086/0.1349, allocations: 5.662 MB / 0.9172 GB, free: 3.734 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.135, allocations: 73.41 kB / 0.9173 GB, free: 3.648 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.1364, allocations: 1.667 MB / 0.9189 GB, free: 1.945 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.1366, allocations: 57.7 kB / 0.9189 GB, free: 1.883 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.138, allocations: 2.148 MB / 0.921 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/0.1385, allocations: 0.7243 MB / 0.9218 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004615/0.1389, allocations: 426.2 kB / 0.9222 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.139, allocations: 476.8 kB / 0.9226 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.1395, allocations: 400.2 kB / 0.923 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008592/0.1403, allocations: 1.217 MB / 0.9242 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.1418, allocations: 1.791 MB / 0.9259 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.1418, allocations: 4 kB / 0.9259 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004707/0.1465, allocations: 3.006 MB / 0.9289 GB, free: 6.922 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.1466, allocations: 12 kB / 0.9289 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.1466, allocations: 20 kB / 0.9289 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/0.1508, allocations: 1.696 MB / 0.9306 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/0.1517, allocations: 335.4 kB / 0.9309 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.1715, allocations: 35.05 MB / 0.9651 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.173, allocations: 67.98 kB / 0.9652 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.1731, allocations: 72 kB / 0.9652 GB, free: 15.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.000962/0.1741, allocations: 300 kB / 0.9655 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.1745, allocations: 334.3 kB / 0.9658 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.1786, allocations: 2.642 MB / 0.9684 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.1786, allocations: 20 kB / 0.9684 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/0.1787, allocations: 16 kB / 0.9685 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.1787, allocations: 12.09 kB / 0.9685 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/0.1858, allocations: 5.037 MB / 0.9734 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.1858, allocations: 12.83 kB / 0.9734 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.1863, allocations: 179.7 kB / 0.9736 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/0.19, allocations: 1.583 MB / 0.9751 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.1901, allocations: 44 kB / 0.9752 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/0.2102, allocations: 34.91 MB / 1.009 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.2102, allocations: 8 kB / 1.009 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.2156, allocations: 2.796 MB / 1.012 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.2167, allocations: 470.1 kB / 1.012 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.2169, allocations: 48.06 kB / 1.012 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/0.2178, allocations: 40 kB / 1.013 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005788/0.2184, allocations: 209.4 kB / 1.013 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.2185, allocations: 44 kB / 1.013 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009342/0.2194, allocations: 0.8985 MB / 1.014 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2194, allocations: 0 / 1.014 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003015/0.2224, allocations: 1.055 MB / 1.015 GB, free: 10.21 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002616/0.2227, allocations: 163 kB / 1.015 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005758/0.2285, allocations: 5.185 MB / 1.02 GB, free: 4.531 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.2285, allocations: 3.938 kB / 1.02 GB, free: 4.527 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.3154/0.5438, allocations: 4.416 MB / 1.024 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.5467, allocations: 0.9058 MB / 1.025 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.5576, allocations: 7.238 MB / 1.032 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/0.5595, allocations: 1.168 MB / 1.033 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001579/0.5611, allocations: 307.6 kB / 1.034 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/0.563, allocations: 0.7866 MB / 1.034 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of SimCode: time 2.053e-06/0.563, allocations: 0 / 1.034 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.1104/0.6734, allocations: 65.78 MB / 1.099 GB, free: 137.1 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 6.749227419961244]