Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00127/0.00127, 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.00118/0.00118, allocations: 181 kB / 24.08 MB, free: 424 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.9317/0.9317, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.76/1.76, allocations: 359 MB / 0.6055 GB, free: 10.87 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.137e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01195/0.01197, allocations: 13.67 MB / 0.8009 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005623/0.0176, allocations: 4.127 MB / 0.805 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008087/0.0184, allocations: 131 kB / 0.8051 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009487/0.01935, allocations: 0.574 MB / 0.8057 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.02108, allocations: 1.725 MB / 0.8073 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.02245, allocations: 1.221 MB / 0.8085 GB, free: 6.684 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00435/0.0268, allocations: 6.907 MB / 0.8153 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.02998, allocations: 3.63 MB / 0.8188 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.03315, allocations: 4.005 MB / 0.8227 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.03591, allocations: 3.561 MB / 0.8262 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.03638, allocations: 0.5273 MB / 0.8267 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.0372, allocations: 0.6715 MB / 0.8274 GB, free: 3.266 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.03868, allocations: 2.69 MB / 0.83 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.03987, allocations: 1.766 MB / 0.8317 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.04275, allocations: 4.59 MB / 0.8362 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.04275, allocations: 0 / 0.8362 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.503e-06/0.04275, allocations: 0 / 0.8362 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.211e-05/0.04279, allocations: 0 / 0.8362 GB, free: 10.2 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.003877/0.04666, allocations: 4.644 MB / 0.8407 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.0467, allocations: 8.031 kB / 0.8408 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.05014, allocations: 1.532 MB / 0.8423 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.05223, allocations: 2.245 MB / 0.8444 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.05237, allocations: 271.7 kB / 0.8447 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.05275, allocations: 372.3 kB / 0.8451 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/0.05622, allocations: 3.819 MB / 0.8488 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/0.05627, allocations: 12.11 kB / 0.8488 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.05652, allocations: 160.3 kB / 0.849 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003474/0.05687, allocations: 483.3 kB / 0.8494 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.05857, allocations: 1.261 MB / 0.8506 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.07109, allocations: 19.89 MB / 0.8701 GB, free: 6.469 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.07178, allocations: 0.6573 MB / 0.8707 GB, free: 5.797 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/0.07251, allocations: 0.7093 MB / 0.8714 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.07262, allocations: 29.31 kB / 0.8714 GB, free: 5.055 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.07265, allocations: 54.62 kB / 0.8715 GB, free: 4.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=146): time 3.517e-06/0.07265, allocations: 0 / 0.8715 GB, free: 4.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.02573/0.09838, allocations: 13.9 MB / 0.8851 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.09842, allocations: 77.41 kB / 0.8851 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009467/0.09936, allocations: 1.401 MB / 0.8865 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.09951, allocations: 65.7 kB / 0.8866 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008052/0.1003, allocations: 1.893 MB / 0.8884 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/0.1008, allocations: 0.9179 MB / 0.8893 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/0.1014, allocations: 467.7 kB / 0.8898 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1015, allocations: 476.8 kB / 0.8902 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/0.1023, allocations: 0.5477 MB / 0.8907 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.1034, allocations: 1.4 MB / 0.8921 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.1054, allocations: 2.19 MB / 0.8942 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.1054, allocations: 7.938 kB / 0.8943 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01182/0.1173, allocations: 6.908 MB / 0.901 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.1173, allocations: 12 kB / 0.901 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.1173, allocations: 19.98 kB / 0.901 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0129/0.1302, allocations: 5.653 MB / 0.9066 GB, free: 232 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.1308, allocations: 279.5 kB / 0.9068 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02588/0.1567, allocations: 24.02 MB / 0.9303 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.1579, allocations: 68 kB / 0.9303 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.1581, allocations: 76 kB / 0.9304 GB, free: 7.086 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 (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.0009047/0.159, allocations: 300.1 kB / 0.9307 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.1594, allocations: 330.4 kB / 0.931 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/0.1714, allocations: 6.989 MB / 0.9378 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.1714, allocations: 24 kB / 0.9379 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-05/0.1714, allocations: 48 kB / 0.9379 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.1715, allocations: 11.95 kB / 0.9379 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.1889, allocations: 9.667 MB / 0.9474 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.1889, allocations: 8.844 kB / 0.9474 GB, free: 5.457 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.1893, allocations: 139.7 kB / 0.9475 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01717/0.2065, allocations: 5.468 MB / 0.9528 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.2067, allocations: 52 kB / 0.9529 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03311/0.2398, allocations: 23.92 MB / 0.9762 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.2398, allocations: 11.94 kB / 0.9763 GB, free: 7.129 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.2534, allocations: 6.931 MB / 0.983 GB, free: 28 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008531/0.2543, allocations: 0.5841 MB / 0.9836 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.2545, allocations: 55.73 kB / 0.9837 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/0.2552, allocations: 48 kB / 0.9837 GB, free: 15.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005576/0.2557, allocations: 245.4 kB / 0.9839 GB, free: 15.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.2558, allocations: 48 kB / 0.984 GB, free: 15.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000509/0.2564, allocations: 0.763 MB / 0.9847 GB, free: 14.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2564, allocations: 3.938 kB / 0.9847 GB, free: 14.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002936/0.2593, allocations: 1.617 MB / 0.9863 GB, free: 12.68 MB / 0.948 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.0002497/0.2595, allocations: 159 kB / 0.9865 GB, free: 12.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008022/0.2676, allocations: 6.057 MB / 0.9924 GB, free: 6.336 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2676, allocations: 4.375 kB / 0.9924 GB, free: 6.332 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006436/0.274, allocations: 5.043 MB / 0.9973 GB, free: 1.188 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.2753, allocations: 0.5334 MB / 0.9978 GB, free: 0.6641 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/0.2827, allocations: 7.437 MB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.2837, allocations: 1.297 MB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003667/0.2841, allocations: 199.1 kB / 1.007 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.2847, allocations: 461.9 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of SimCode: time 8.31e-07/0.2847, allocations: 0 / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of Templates: time 0.3936/0.6782, allocations: 102 MB / 1.107 GB, free: 261.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.519106844905764]