Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.001348/0.001348, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001538/0.001538, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.321/2.321, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_sc.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|RLCLine_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.046e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01732/0.01734, allocations: 23.96 MB / 0.862 GB, free: 6.098 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.03067, allocations: 7.773 MB / 0.8696 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007535/0.0382, allocations: 246.1 kB / 0.8699 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.003626/0.04183, allocations: 1.031 MB / 0.8709 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.006188/0.04802, allocations: 2.663 MB / 0.8735 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.05178, allocations: 2.683 MB / 0.8761 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.008964/0.06074, allocations: 11.5 MB / 0.8873 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006816/0.06756, allocations: 6.933 MB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006261/0.07382, allocations: 6.873 MB / 0.9008 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004685/0.0785, allocations: 5.238 MB / 0.9059 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009533/0.07946, allocations: 0.9453 MB / 0.9069 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.08068, allocations: 1.054 MB / 0.9079 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.08297, allocations: 3.999 MB / 0.9118 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.08568, allocations: 3.049 MB / 0.9148 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.092, allocations: 7.433 MB / 0.922 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.09201, allocations: 0 / 0.922 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.833e-06/0.09201, allocations: 0 / 0.922 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003273/0.09234, allocations: 0 / 0.922 GB, free: 8.367 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.009188/0.1015, allocations: 7.183 MB / 0.929 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1016, allocations: 12.62 kB / 0.9291 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.1066, allocations: 2.016 MB / 0.931 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/0.1107, allocations: 3.41 MB / 0.9344 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.111, allocations: 456.5 kB / 0.9348 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006746/0.1116, allocations: 0.6174 MB / 0.9354 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006324/0.118, allocations: 6.324 MB / 0.9416 GB, free: 3.598 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.1181, allocations: 28 kB / 0.9416 GB, free: 3.57 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/0.1185, allocations: 268.3 kB / 0.9418 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/0.1197, allocations: 0.6052 MB / 0.9424 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.1226, allocations: 1.824 MB / 0.9442 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/0.1444, allocations: 23.12 MB / 0.9668 GB, free: 9.07 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.1461, allocations: 1.866 MB / 0.9686 GB, free: 7.195 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.1474, allocations: 1.167 MB / 0.9698 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.1476, allocations: 58.78 kB / 0.9698 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.1477, allocations: 73.34 kB / 0.9699 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=353): time 5.29e-06/0.1477, allocations: 4 kB / 0.9699 GB, free: 5.875 MB / 0.9323 GB Notification: Performance of matching and sorting (n=356): time 0.08361/0.2313, allocations: 25.11 MB / 0.9944 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.2313, allocations: 86.2 kB / 0.9945 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.2333, allocations: 2.049 MB / 0.9965 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/0.2335, allocations: 89.7 kB / 0.9966 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.2347, allocations: 2.292 MB / 0.9988 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008702/0.2356, allocations: 1.278 MB / 1 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009874/0.2365, allocations: 0.6066 MB / 1.001 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.2366, allocations: 305.1 kB / 1.001 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.2377, allocations: 0.5517 MB / 1.001 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.2392, allocations: 1.322 MB / 1.003 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.2422, allocations: 2.244 MB / 1.005 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.2422, allocations: 8 kB / 1.005 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.00932/0.2515, allocations: 4.258 MB / 1.009 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.2516, allocations: 20.06 kB / 1.009 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.2516, allocations: 24 kB / 1.009 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.2625, allocations: 3.551 MB / 1.013 GB, free: 9.062 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.2641, allocations: 0.5031 MB / 1.013 GB, free: 8.559 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02469/0.2888, allocations: 20.25 MB / 1.033 GB, free: 3.523 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.2905, allocations: 100 kB / 1.033 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.2907, allocations: 112 kB / 1.033 GB, free: 3.316 MB / 0.9948 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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,51.0%), (7,71,71.4%), (6,40,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.292, allocations: 323.9 kB / 1.033 GB, free: 2.988 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/0.2924, allocations: 371.6 kB / 1.034 GB, free: 2.625 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006804/0.2993, allocations: 4.034 MB / 1.038 GB, free: 14.51 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.2993, allocations: 40 kB / 1.038 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.97e-05/0.2993, allocations: 39.94 kB / 1.038 GB, free: 14.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.2994, allocations: 19.94 kB / 1.038 GB, free: 14.41 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.3101, allocations: 6.715 MB / 1.044 GB, free: 7.547 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.3101, allocations: 4 kB / 1.044 GB, free: 7.543 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.311, allocations: 276.1 kB / 1.045 GB, free: 7.273 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008038/0.3191, allocations: 3.491 MB / 1.048 GB, free: 3.754 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.3192, allocations: 68 kB / 1.048 GB, free: 3.688 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4275/0.7467, allocations: 20.22 MB / 1.068 GB, free: 165.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.7467, allocations: 10.98 kB / 1.068 GB, free: 165.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.7568, allocations: 4.758 MB / 1.073 GB, free: 165.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.7581, allocations: 0.6336 MB / 1.073 GB, free: 165.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/0.7584, allocations: 72.56 kB / 1.073 GB, free: 165.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009461/0.7594, allocations: 67.81 kB / 1.073 GB, free: 165.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001049/0.7604, allocations: 334.5 kB / 1.074 GB, free: 165.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.7606, allocations: 69.12 kB / 1.074 GB, free: 165.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001039/0.7616, allocations: 1.034 MB / 1.075 GB, free: 165.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7616, allocations: 0 / 1.075 GB, free: 165.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003708/0.7653, allocations: 1.789 MB / 1.076 GB, free: 165.1 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (127): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (1,1,100.0%), (6,40,77.8%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003775/0.7657, allocations: 176 kB / 1.077 GB, free: 165 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006722/0.7724, allocations: 4.64 MB / 1.081 GB, free: 163.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-05/0.7725, allocations: 41.03 kB / 1.081 GB, free: 163.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/0.7771, allocations: 3.632 MB / 1.085 GB, free: 162.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/0.7808, allocations: 1.556 MB / 1.086 GB, free: 162.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.7936, allocations: 10.43 MB / 1.096 GB, free: 158.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.7954, allocations: 1.717 MB / 1.098 GB, free: 158.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001558/0.797, allocations: 434.2 kB / 1.098 GB, free: 157.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/0.7986, allocations: 0.8955 MB / 1.099 GB, free: 157.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.172e-06/0.7986, allocations: 0 / 1.099 GB, free: 157.8 MB / 1.01 GB Notification: Performance of Templates: time 0.0983/0.8969, allocations: 103.5 MB / 1.2 GB, free: 71.57 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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: 7.7760181543417275]