Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0009824/0.0009824, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001326/0.001326, allocations: 161 kB / 24.17 MB, free: 332 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.9889/0.9889, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.888/1.888, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.279e-05, allocations: 2.312 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01353/0.01355, allocations: 15.1 MB / 0.7748 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007991/0.02154, allocations: 4.62 MB / 0.7793 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.02342, allocations: 154.8 kB / 0.7795 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.02487, allocations: 0.6321 MB / 0.7801 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.0276, allocations: 1.464 MB / 0.7815 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.02989, allocations: 1.331 MB / 0.7828 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006323/0.03621, allocations: 6.162 MB / 0.7888 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004621/0.04083, allocations: 4.008 MB / 0.7927 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005114/0.04595, allocations: 3.702 MB / 0.7963 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.05004, allocations: 2.773 MB / 0.7991 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.05125, allocations: 0.5078 MB / 0.7996 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.0528, allocations: 0.5935 MB / 0.8001 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.05467, allocations: 2.219 MB / 0.8023 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.05682, allocations: 1.672 MB / 0.8039 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.06041, allocations: 4.114 MB / 0.8079 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.06042, allocations: 0 / 0.8079 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.633e-06/0.06042, allocations: 2.75 kB / 0.808 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.849e-05/0.06051, allocations: 4 kB / 0.808 GB, free: 5.371 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004672/0.06518, allocations: 3.972 MB / 0.8118 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.06522, allocations: 12.03 kB / 0.8118 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.06741, allocations: 0.9973 MB / 0.8128 GB, free: 364 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.07011, allocations: 1.981 MB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.07025, allocations: 275.6 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/0.07076, allocations: 380.8 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/0.07466, allocations: 3.6 MB / 0.8189 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.198e-05/0.07473, allocations: 23.77 kB / 0.8189 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.07496, allocations: 160.6 kB / 0.8191 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003122/0.07528, allocations: 270.9 kB / 0.8193 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.07673, allocations: 0.9942 MB / 0.8203 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.08914, allocations: 14.16 MB / 0.8341 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.08967, allocations: 395.9 kB / 0.8345 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.09002, allocations: 327.6 kB / 0.8348 GB, free: 8.945 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.09007, allocations: 17 kB / 0.8348 GB, free: 8.93 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.09011, allocations: 47.56 kB / 0.8349 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=110): time 3.987e-06/0.09011, allocations: 0 / 0.8349 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of matching and sorting (n=113): time 0.005437/0.09555, allocations: 3.089 MB / 0.8379 GB, free: 5.773 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.09558, allocations: 68.39 kB / 0.838 GB, free: 5.691 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.09671, allocations: 1.182 MB / 0.8391 GB, free: 4.504 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.09677, allocations: 45.7 kB / 0.8392 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006005/0.09737, allocations: 1.511 MB / 0.8406 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.09759, allocations: 424.3 kB / 0.841 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.09785, allocations: 291.3 kB / 0.8413 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.09792, allocations: 309 kB / 0.8416 GB, free: 1.91 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.09818, allocations: 202.8 kB / 0.8418 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.09867, allocations: 0.726 MB / 0.8425 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.09954, allocations: 1.099 MB / 0.8436 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.09955, allocations: 4 kB / 0.8436 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001518/0.1011, allocations: 1.282 MB / 0.8448 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1011, allocations: 12 kB / 0.8449 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.1011, allocations: 24.34 kB / 0.8449 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.1022, allocations: 417.7 kB / 0.8453 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.1029, allocations: 323.5 kB / 0.8456 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.1077, allocations: 8.039 MB / 0.8534 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.1084, allocations: 51.98 kB / 0.8535 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.1085, allocations: 60 kB / 0.8535 GB, free: 4.574 MB / 0.8073 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 (184): * Single equations (assignments): 178 * 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 {(2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000712/0.1092, allocations: 224 kB / 0.8538 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.1094, allocations: 159.8 kB / 0.8539 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.1106, allocations: 0.9637 MB / 0.8548 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1106, allocations: 12 kB / 0.8549 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1106, allocations: 7.938 kB / 0.8549 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1106, allocations: 3.984 kB / 0.8549 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.114, allocations: 2.34 MB / 0.8572 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.114, allocations: 4 kB / 0.8572 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.1145, allocations: 171.8 kB / 0.8573 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007905/0.1152, allocations: 398.2 kB / 0.8577 GB, free: 144 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.1153, allocations: 24 kB / 0.8577 GB, free: 120 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/0.1197, allocations: 8.039 MB / 0.8656 GB, free: 7.488 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1197, allocations: 4 kB / 0.8656 GB, free: 7.484 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.1215, allocations: 1.329 MB / 0.8669 GB, free: 6.066 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.1219, allocations: 254.7 kB / 0.8671 GB, free: 5.816 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.122, allocations: 28.25 kB / 0.8671 GB, free: 5.789 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.1223, allocations: 28 kB / 0.8672 GB, free: 5.762 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1225, allocations: 96.7 kB / 0.8673 GB, free: 5.664 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.1225, allocations: 28 kB / 0.8673 GB, free: 5.637 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00043/0.1229, allocations: 0.5819 MB / 0.8679 GB, free: 5.059 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.1229, allocations: 0 / 0.8679 GB, free: 5.059 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001451/0.1244, allocations: 0.6445 MB / 0.8685 GB, free: 4.414 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (92): * Single equations (assignments): 86 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.1246, allocations: 124.2 kB / 0.8686 GB, free: 4.285 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.1261, allocations: 1.632 MB / 0.8702 GB, free: 2.578 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.941e-05/0.1262, allocations: 26 kB / 0.8702 GB, free: 2.551 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009373/0.1271, allocations: 1.196 MB / 0.8714 GB, free: 1.277 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.1284, allocations: 0.6346 MB / 0.872 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/0.1353, allocations: 5.689 MB / 0.8776 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/0.136, allocations: 0.903 MB / 0.8785 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006747/0.1367, allocations: 235.9 kB / 0.8787 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/0.1375, allocations: 0.5029 MB / 0.8792 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of SimCode: time 1.342e-06/0.1375, allocations: 0 / 0.8792 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of Templates: time 0.04436/0.1819, allocations: 32.44 MB / 0.9108 GB, free: 9.531 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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: 5.676031040027738]