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.001133/0.001133, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001608/0.001608, allocations: 165 kB / 23.02 MB, free: 1.551 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 0.963/0.963, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.064/2.064, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.583e-06/1.583e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.355e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.01817/0.0182, allocations: 24.58 MB / 0.9022 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.03098, allocations: 7.551 MB / 0.9096 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/0.03526, allocations: 246.1 kB / 0.9098 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.03729, allocations: 1.039 MB / 0.9108 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.04166, allocations: 2.656 MB / 0.9134 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.04555, allocations: 2.632 MB / 0.916 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01088/0.05643, allocations: 11.51 MB / 0.9272 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007768/0.0642, allocations: 6.57 MB / 0.9336 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008198/0.0724, allocations: 6.853 MB / 0.9403 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006394/0.07879, allocations: 5.394 MB / 0.9456 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.08016, allocations: 0.9453 MB / 0.9465 GB, free: 48 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.08196, allocations: 1.043 MB / 0.9475 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002806/0.08476, allocations: 4.011 MB / 0.9515 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002822/0.08758, allocations: 3.064 MB / 0.9544 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005881/0.09346, allocations: 7.456 MB / 0.9617 GB, free: 444 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.09347, allocations: 4 kB / 0.9617 GB, free: 440 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.333e-06/0.09347, allocations: 0 / 0.9617 GB, free: 440 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001116/0.09358, allocations: 0 / 0.9617 GB, free: 440 kB / 0.9167 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.008882/0.1025, allocations: 7.875 MB / 0.9694 GB, free: 8.477 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1025, allocations: 8.031 kB / 0.9694 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006433/0.1089, allocations: 2.368 MB / 0.9717 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.1153, allocations: 4.31 MB / 0.976 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.1156, allocations: 452.5 kB / 0.9764 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.1167, allocations: 0.6134 MB / 0.977 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009217/0.1259, allocations: 6.961 MB / 0.9838 GB, free: 8.965 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.126, allocations: 39.83 kB / 0.9838 GB, free: 8.926 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004496/0.1265, allocations: 268.3 kB / 0.9841 GB, free: 8.664 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001424/0.1279, allocations: 0.7768 MB / 0.9848 GB, free: 7.883 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005474/0.1334, allocations: 2.694 MB / 0.9875 GB, free: 5.164 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/0.1652, allocations: 31.79 MB / 1.019 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.168, allocations: 2.17 MB / 1.021 GB, free: 2.406 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.17, allocations: 1.537 MB / 1.022 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.1703, allocations: 58.78 kB / 1.022 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.1703, allocations: 72.17 kB / 1.022 GB, free: 0.7227 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=353): time 5.67e-06/0.1703, allocations: 7.938 kB / 1.022 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578): time 0.4903/0.6606, allocations: 34.49 MB / 1.056 GB, free: 164.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.6607, allocations: 111.5 kB / 1.056 GB, free: 164.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.6629, allocations: 2.237 MB / 1.058 GB, free: 164.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008915/0.6638, allocations: 118.6 kB / 1.058 GB, free: 164.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.6648, allocations: 2.829 MB / 1.061 GB, free: 164.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.6663, allocations: 2.093 MB / 1.063 GB, free: 163.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.6676, allocations: 0.937 MB / 1.064 GB, free: 163 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.6676, allocations: 483.2 kB / 1.065 GB, free: 162.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.6699, allocations: 1.376 MB / 1.066 GB, free: 162.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/0.6726, allocations: 2.671 MB / 1.068 GB, free: 161.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005679/0.6782, allocations: 4.686 MB / 1.073 GB, free: 159.9 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/0.6783, allocations: 5.5 kB / 1.073 GB, free: 159.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01821/0.6965, allocations: 9.382 MB / 1.082 GB, free: 159 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.6965, allocations: 20 kB / 1.082 GB, free: 159 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.6965, allocations: 26.69 kB / 1.082 GB, free: 159 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0207/0.7172, allocations: 7.421 MB / 1.09 GB, free: 158.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.719, allocations: 0.524 MB / 1.09 GB, free: 158.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05041/0.7694, allocations: 44.3 MB / 1.133 GB, free: 130.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/0.7727, allocations: 282 kB / 1.134 GB, free: 130.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006024/0.7733, allocations: 192.6 kB / 1.134 GB, free: 130.3 MB / 1.01 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002296/0.7756, allocations: 439 kB / 1.134 GB, free: 130 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/0.7766, allocations: 0.6422 MB / 1.135 GB, free: 129.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/0.7938, allocations: 9.124 MB / 1.144 GB, free: 127.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/0.7939, allocations: 54.16 kB / 1.144 GB, free: 127.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001729/0.7941, allocations: 69.69 kB / 1.144 GB, free: 127.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.7941, allocations: 27.36 kB / 1.144 GB, free: 127.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0246/0.8187, allocations: 14.95 MB / 1.158 GB, free: 122.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.8187, allocations: 7.781 kB / 1.158 GB, free: 122.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.8196, allocations: 316.3 kB / 1.159 GB, free: 122.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01637/0.836, allocations: 7.037 MB / 1.166 GB, free: 121 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005682/0.8365, allocations: 112.5 kB / 1.166 GB, free: 120.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03903/0.8756, allocations: 44.04 MB / 1.209 GB, free: 77.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.8756, allocations: 11.84 kB / 1.209 GB, free: 77.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/0.8928, allocations: 10.26 MB / 1.219 GB, free: 67.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/0.8948, allocations: 1.206 MB / 1.22 GB, free: 65.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.8953, allocations: 106 kB / 1.22 GB, free: 65.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.8969, allocations: 291.6 kB / 1.22 GB, free: 65.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001798/0.8987, allocations: 0.5488 MB / 1.221 GB, free: 64.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/0.8989, allocations: 148 kB / 1.221 GB, free: 64.73 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00116/0.9001, allocations: 1.266 MB / 1.222 GB, free: 63.47 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9001, allocations: 0 / 1.222 GB, free: 63.47 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006267/0.9064, allocations: 2.473 MB / 1.225 GB, free: 61 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (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.0004619/0.9068, allocations: 238.1 kB / 1.225 GB, free: 60.78 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01281/0.9196, allocations: 9.567 MB / 1.234 GB, free: 51.03 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.9196, allocations: 4 kB / 1.234 GB, free: 51.03 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008571/0.9282, allocations: 7.507 MB / 1.242 GB, free: 43.32 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/0.9316, allocations: 1.275 MB / 1.243 GB, free: 42.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.9472, allocations: 12.93 MB / 1.255 GB, free: 29 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/0.9494, allocations: 2.166 MB / 1.258 GB, free: 26.79 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001543/0.951, allocations: 0.6142 MB / 1.258 GB, free: 26.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.9513, allocations: 184.5 kB / 1.258 GB, free: 26 MB / 1.01 GB Notification: Performance of SimCode: time 1.322e-06/0.9514, allocations: 0 / 1.258 GB, free: 26 MB / 1.01 GB Notification: Performance of Templates: time 0.1647/1.116, allocations: 155.6 MB / 1.41 GB, free: 240 kB / 1.135 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 -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: 8.788785832002759]