Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001017/0.001017, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001136/0.001136, allocations: 169 kB / 24.28 MB, free: 276 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 1.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.87/1.87, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 4.922 kB / 0.8116 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.249e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02556/0.02557, allocations: 35.34 MB / 0.8461 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.03979, allocations: 11.8 MB / 0.8576 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.04108, allocations: 210.4 kB / 0.8578 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.005742/0.04682, allocations: 4.396 MB / 0.8621 GB, free: 14.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.04991, allocations: 2.144 MB / 0.8642 GB, free: 12.04 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003511/0.05342, allocations: 2.435 MB / 0.8666 GB, free: 9.598 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006678/0.06009, allocations: 8.611 MB / 0.875 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007023/0.06712, allocations: 6.201 MB / 0.881 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/0.07262, allocations: 5.45 MB / 0.8863 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00419/0.07681, allocations: 4.19 MB / 0.8904 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0008343/0.07765, allocations: 0.7773 MB / 0.8912 GB, free: 208 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.0803, allocations: 1.934 MB / 0.8931 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.08271, allocations: 3.329 MB / 0.8963 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.085, allocations: 2.409 MB / 0.8987 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006027/0.09103, allocations: 6.658 MB / 0.9052 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.09103, allocations: 4 kB / 0.9052 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/0.09103, allocations: 0 / 0.9052 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.205e-05/0.0911, allocations: 4 kB / 0.9052 GB, free: 1.832 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.007118/0.09821, allocations: 6.158 MB / 0.9112 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.09825, allocations: 12.03 kB / 0.9112 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/0.1021, allocations: 1.768 MB / 0.913 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/0.1054, allocations: 3.35 MB / 0.9162 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.1056, allocations: 407.5 kB / 0.9166 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005/0.1061, allocations: 0.551 MB / 0.9172 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005774/0.1118, allocations: 5.468 MB / 0.9225 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.1119, allocations: 28 kB / 0.9225 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003523/0.1123, allocations: 236.3 kB / 0.9227 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003064/0.1126, allocations: 354.7 kB / 0.9231 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/0.1163, allocations: 2.038 MB / 0.9251 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.1348, allocations: 27.02 MB / 0.9515 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.1364, allocations: 1.255 MB / 0.9527 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.1375, allocations: 0.8804 MB / 0.9535 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.001e-05/0.1376, allocations: 30 kB / 0.9536 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.1376, allocations: 55.39 kB / 0.9536 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=179): time 4.648e-06/0.1376, allocations: 0 / 0.9536 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=182): time 0.0121/0.1497, allocations: 6.286 MB / 0.9598 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1498, allocations: 69.41 kB / 0.9598 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.151, allocations: 1.37 MB / 0.9612 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.151, allocations: 53.7 kB / 0.9612 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.152, allocations: 2.373 MB / 0.9635 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000424/0.1525, allocations: 0.678 MB / 0.9642 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/0.1529, allocations: 418.1 kB / 0.9646 GB, free: 3.531 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.153, allocations: 476.8 kB / 0.965 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.1536, allocations: 392.2 kB / 0.9654 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.1547, allocations: 1.399 MB / 0.9668 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.1565, allocations: 1.976 MB / 0.9687 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.1565, allocations: 8 kB / 0.9687 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003634/0.1601, allocations: 2.641 MB / 0.9713 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1601, allocations: 15.94 kB / 0.9713 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.1602, allocations: 24 kB / 0.9713 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.1625, allocations: 1.218 MB / 0.9725 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.1632, allocations: 351.4 kB / 0.9729 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.1742, allocations: 12.66 MB / 0.9852 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.1752, allocations: 119.9 kB / 0.9853 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.1753, allocations: 92 kB / 0.9854 GB, free: 12.81 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.1764, allocations: 295.9 kB / 0.9857 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.1767, allocations: 278.6 kB / 0.986 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.1797, allocations: 2.13 MB / 0.9881 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.1797, allocations: 20 kB / 0.9881 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.079e-05/0.1797, allocations: 20 kB / 0.9881 GB, free: 10.03 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.1797, allocations: 11.95 kB / 0.9881 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.1907, allocations: 5.963 MB / 0.9939 GB, free: 3.898 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.1907, allocations: 7.938 kB / 0.9939 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.1914, allocations: 183.7 kB / 0.9941 GB, free: 3.711 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/0.1948, allocations: 1.005 MB / 0.9951 GB, free: 2.695 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.1949, allocations: 32 kB / 0.9951 GB, free: 2.664 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.2106, allocations: 11.88 MB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.2106, allocations: 11.94 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005225/0.2158, allocations: 2.362 MB / 1.009 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.2169, allocations: 434.4 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/0.2172, allocations: 36 kB / 1.01 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008636/0.218, allocations: 83.89 kB / 1.01 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/0.2186, allocations: 177.5 kB / 1.01 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.2187, allocations: 48 kB / 1.01 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001116/0.2199, allocations: 0.7708 MB / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2e-07/0.2199, allocations: 0 / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003528/0.2234, allocations: 0.9961 MB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/0.2236, allocations: 147.1 kB / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003649/0.2273, allocations: 2.981 MB / 1.015 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2273, allocations: 0 / 1.015 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.2295, allocations: 2.162 MB / 1.017 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.2314, allocations: 0.7617 MB / 1.017 GB, free: 11.1 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.2436, allocations: 7.814 MB / 1.025 GB, free: 3.141 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/0.2456, allocations: 1.349 MB / 1.026 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001529/0.2471, allocations: 383.1 kB / 1.027 GB, free: 1.383 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.2474, allocations: 120.5 kB / 1.027 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of SimCode: time 1.844e-06/0.2474, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of Templates: time 0.3812/0.6286, allocations: 45.04 MB / 1.071 GB, free: 260.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.329618118004873]