Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001341/0.001341, allocations: 81.86 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.001715/0.001715, allocations: 181 kB / 24.09 MB, free: 416 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.9454/0.9454, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.818/1.818, allocations: 377.9 MB / 0.624 GB, free: 8.383 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.508e-05, allocations: 6.25 kB / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01059/0.01062, allocations: 13.65 MB / 0.8254 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00569/0.01631, allocations: 4.145 MB / 0.8294 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006015/0.01691, allocations: 123.1 kB / 0.8295 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0008919/0.0178, allocations: 0.5789 MB / 0.8301 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.01969, allocations: 1.726 MB / 0.8318 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.02096, allocations: 1.223 MB / 0.833 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00417/0.02513, allocations: 6.922 MB / 0.8397 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.02811, allocations: 3.612 MB / 0.8433 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003391/0.0315, allocations: 3.993 MB / 0.8472 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.03433, allocations: 3.568 MB / 0.8506 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0004873/0.03482, allocations: 0.5273 MB / 0.8512 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.03566, allocations: 0.6715 MB / 0.8518 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001769/0.03743, allocations: 2.693 MB / 0.8544 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.0387, allocations: 1.762 MB / 0.8562 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.04189, allocations: 4.585 MB / 0.8606 GB, free: 15.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.0419, allocations: 0 / 0.8606 GB, free: 15.45 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.042e-06/0.0419, allocations: 0 / 0.8606 GB, free: 15.45 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.205e-05/0.04195, allocations: 0 / 0.8606 GB, free: 15.45 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004209/0.04616, allocations: 4.648 MB / 0.8652 GB, free: 10.74 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.0462, allocations: 16.02 kB / 0.8652 GB, free: 10.73 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/0.04978, allocations: 1.528 MB / 0.8667 GB, free: 9.195 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.05233, allocations: 2.245 MB / 0.8689 GB, free: 6.902 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.05246, allocations: 271.7 kB / 0.8691 GB, free: 6.637 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.05283, allocations: 364.3 kB / 0.8695 GB, free: 6.281 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003509/0.05634, allocations: 3.827 MB / 0.8732 GB, free: 2.051 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.408e-05/0.0564, allocations: 12.06 kB / 0.8732 GB, free: 2.039 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.05665, allocations: 160.3 kB / 0.8734 GB, free: 1.883 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006175/0.05727, allocations: 483.3 kB / 0.8738 GB, free: 1.41 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.05891, allocations: 1.261 MB / 0.8751 GB, free: 148 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.07251, allocations: 19.89 MB / 0.8945 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.07322, allocations: 0.6534 MB / 0.8951 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/0.07396, allocations: 0.7132 MB / 0.8958 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.07406, allocations: 33.23 kB / 0.8959 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.0741, allocations: 66.56 kB / 0.8959 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 2.996e-06/0.0741, allocations: 0 / 0.8959 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.02684/0.1009, allocations: 13.89 MB / 0.9095 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.101, allocations: 77.41 kB / 0.9096 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009291/0.1019, allocations: 1.401 MB / 0.9109 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.1021, allocations: 65.7 kB / 0.911 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.1031, allocations: 1.893 MB / 0.9129 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/0.1036, allocations: 0.914 MB / 0.9137 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005638/0.1042, allocations: 463.7 kB / 0.9142 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.1042, allocations: 480.8 kB / 0.9146 GB, free: 6.953 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.1049, allocations: 0.5554 MB / 0.9152 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.106, allocations: 1.404 MB / 0.9166 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.108, allocations: 2.182 MB / 0.9187 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.108, allocations: 4 kB / 0.9187 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01172/0.1197, allocations: 6.916 MB / 0.9255 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.1197, allocations: 14.34 kB / 0.9255 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.1198, allocations: 16 kB / 0.9255 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01318/0.1329, allocations: 5.657 MB / 0.931 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.1335, allocations: 271.5 kB / 0.9313 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02599/0.1595, allocations: 24.03 MB / 0.9547 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.1609, allocations: 64 kB / 0.9548 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.1611, allocations: 76 kB / 0.9549 GB, free: 12.33 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000935/0.162, allocations: 308 kB / 0.9552 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/0.1625, allocations: 330.5 kB / 0.9555 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.1742, allocations: 6.981 MB / 0.9623 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.1742, allocations: 27.94 kB / 0.9623 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-05/0.1743, allocations: 44 kB / 0.9624 GB, free: 4.578 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.1743, allocations: 15.95 kB / 0.9624 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/0.1901, allocations: 9.655 MB / 0.9718 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.1901, allocations: 12.84 kB / 0.9718 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.1905, allocations: 139.8 kB / 0.9719 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01402/0.2045, allocations: 5.47 MB / 0.9773 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/0.2047, allocations: 52 kB / 0.9773 GB, free: 5.008 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0267/0.2314, allocations: 23.92 MB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2314, allocations: 11.94 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/0.2438, allocations: 6.919 MB / 1.007 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.2448, allocations: 0.5956 MB / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.245, allocations: 48 kB / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/0.2458, allocations: 48 kB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000857/0.2467, allocations: 257.3 kB / 1.008 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.2468, allocations: 48 kB / 1.008 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005949/0.2474, allocations: 0.7592 MB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.2474, allocations: 0 / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003788/0.2512, allocations: 1.613 MB / 1.011 GB, free: 1.93 MB / 0.9636 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002863/0.2515, allocations: 167 kB / 1.011 GB, free: 1.758 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009343/0.2608, allocations: 6.071 MB / 1.017 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2608, allocations: 4 kB / 1.017 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006847/0.2677, allocations: 5.017 MB / 1.022 GB, free: 6.449 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.2692, allocations: 0.5393 MB / 1.022 GB, free: 5.922 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009688/0.2789, allocations: 7.44 MB / 1.03 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.2805, allocations: 1.301 MB / 1.031 GB, free: 13 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004934/0.281, allocations: 199.1 kB / 1.031 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.2816, allocations: 461.9 kB / 1.031 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of SimCode: time 1.242e-06/0.2816, allocations: 0 / 1.031 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of Templates: time 0.383/0.6646, allocations: 102 MB / 1.131 GB, free: 226.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.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.468780987896025]