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.001473/0.001473, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001006/0.001006, allocations: 181 kB / 24.09 MB, free: 420 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.941/0.941, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.883/1.883, allocations: 377.9 MB / 0.624 GB, free: 8.422 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.512e-06/1.512e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.491e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01392/0.01395, allocations: 18.34 MB / 0.8299 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.02576, allocations: 9.425 MB / 0.8391 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.02833, allocations: 198.4 kB / 0.8393 GB, free: 5.445 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.03068, allocations: 0.7793 MB / 0.8401 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005293/0.03597, allocations: 2.589 MB / 0.8426 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.03886, allocations: 1.579 MB / 0.8441 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.007798/0.04666, allocations: 7.7 MB / 0.8517 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006471/0.05313, allocations: 4.592 MB / 0.8562 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007913/0.06104, allocations: 4.904 MB / 0.8609 GB, free: 15.12 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004622/0.06566, allocations: 3.297 MB / 0.8642 GB, free: 11.82 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.06707, allocations: 0.5898 MB / 0.8647 GB, free: 11.23 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.06897, allocations: 0.6755 MB / 0.8654 GB, free: 10.55 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002779/0.07175, allocations: 2.553 MB / 0.8679 GB, free: 7.992 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004011/0.07576, allocations: 1.996 MB / 0.8698 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005989/0.08175, allocations: 4.842 MB / 0.8746 GB, free: 1.137 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.08175, allocations: 0 / 0.8746 GB, free: 1.137 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.031e-06/0.08175, allocations: 0 / 0.8746 GB, free: 1.137 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002604/0.08201, allocations: 0 / 0.8746 GB, free: 1.137 MB / 0.823 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.00735/0.08937, allocations: 5.284 MB / 0.8797 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.08941, allocations: 8.031 kB / 0.8797 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.09255, allocations: 1.39 MB / 0.8811 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/0.09613, allocations: 2.734 MB / 0.8838 GB, free: 7.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.09631, allocations: 316.8 kB / 0.8841 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.09674, allocations: 424.3 kB / 0.8845 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004753/0.1015, allocations: 4.268 MB / 0.8886 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-05/0.1016, allocations: 23.77 kB / 0.8887 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/0.1019, allocations: 184 kB / 0.8888 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003973/0.1023, allocations: 312.1 kB / 0.8891 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.1043, allocations: 1.289 MB / 0.8904 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.1203, allocations: 19.98 MB / 0.9099 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.1209, allocations: 475.4 kB / 0.9104 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.1213, allocations: 467.1 kB / 0.9108 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.777e-05/0.1214, allocations: 21.31 kB / 0.9108 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1214, allocations: 54.7 kB / 0.9109 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=130): time 3.637e-06/0.1214, allocations: 0 / 0.9109 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=199): time 0.009728/0.1311, allocations: 5.67 MB / 0.9164 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1312, allocations: 73.34 kB / 0.9165 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.1327, allocations: 1.671 MB / 0.9181 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.1329, allocations: 57.7 kB / 0.9182 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009473/0.1338, allocations: 2.148 MB / 0.9203 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000427/0.1342, allocations: 0.7282 MB / 0.921 GB, free: 152 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004433/0.1347, allocations: 422.2 kB / 0.9214 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1348, allocations: 480.8 kB / 0.9218 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.1353, allocations: 388.3 kB / 0.9222 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.1364, allocations: 1.221 MB / 0.9234 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1379, allocations: 1.795 MB / 0.9252 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.1379, allocations: 4 kB / 0.9252 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004323/0.1422, allocations: 3.006 MB / 0.9281 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.1422, allocations: 12 kB / 0.9281 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.1422, allocations: 24 kB / 0.9281 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/0.1461, allocations: 1.684 MB / 0.9298 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/0.1471, allocations: 335.5 kB / 0.9301 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/0.1647, allocations: 35.09 MB / 0.9644 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.166, allocations: 67.98 kB / 0.9644 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.1661, allocations: 72 kB / 0.9645 GB, free: 0.6719 MB / 0.9167 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.0008736/0.167, allocations: 300 kB / 0.9648 GB, free: 376 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.1674, allocations: 334.3 kB / 0.9651 GB, free: 40 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/0.1716, allocations: 2.646 MB / 0.9677 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.1716, allocations: 20 kB / 0.9677 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.806e-05/0.1717, allocations: 20 kB / 0.9677 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.1717, allocations: 7.969 kB / 0.9677 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008936/0.1806, allocations: 5.052 MB / 0.9727 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.1806, allocations: 4.844 kB / 0.9727 GB, free: 7.969 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.1812, allocations: 171.7 kB / 0.9728 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004695/0.1859, allocations: 1.59 MB / 0.9744 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.186, allocations: 40 kB / 0.9744 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/0.208, allocations: 34.92 MB / 1.009 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002402/0.2082, allocations: 7.938 kB / 1.009 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004772/0.213, allocations: 2.804 MB / 1.011 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008828/0.2139, allocations: 462.1 kB / 1.012 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.2141, allocations: 47.95 kB / 1.012 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007831/0.2149, allocations: 47.98 kB / 1.012 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/0.2154, allocations: 201.4 kB / 1.012 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.2156, allocations: 44 kB / 1.012 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0008947/0.2164, allocations: 0.9024 MB / 1.013 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2164, allocations: 0 / 1.013 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002865/0.2193, allocations: 1.051 MB / 1.014 GB, free: 11.32 MB / 0.9792 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.0002643/0.2196, allocations: 171 kB / 1.014 GB, free: 11.15 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005645/0.2252, allocations: 5.193 MB / 1.019 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.2252, allocations: 0 / 1.019 GB, free: 5.629 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004493/0.2297, allocations: 4.421 MB / 1.023 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.2331, allocations: 0.8996 MB / 1.024 GB, free: 16 kB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.2435, allocations: 7.268 MB / 1.031 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.2446, allocations: 1.166 MB / 1.033 GB, free: 7.406 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001032/0.2456, allocations: 302.5 kB / 1.033 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/0.2468, allocations: 0.7905 MB / 1.034 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of SimCode: time 1.382e-06/0.2468, allocations: 0 / 1.034 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of Templates: time 0.4103/0.6571, allocations: 64.65 MB / 1.097 GB, free: 224.9 MB / 1.01 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.632876246701926]