Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009926/0.0009926, allocations: 93.06 kB / 19.65 MB, free: 272 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.00096/0.00096, allocations: 169 kB / 23.03 MB, free: 1.539 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.8688/0.8688, allocations: 177.1 MB / 203.4 MB, free: 5.621 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 1.936/1.936, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 178] 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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.632e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0116/0.01161, allocations: 15.52 MB / 0.8933 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00657/0.01818, allocations: 4.497 MB / 0.8977 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.01927, allocations: 150.8 kB / 0.8979 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.02034, allocations: 0.6321 MB / 0.8985 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.02214, allocations: 1.46 MB / 0.8999 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.02381, allocations: 1.322 MB / 0.9012 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004479/0.02829, allocations: 6.168 MB / 0.9072 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/0.03179, allocations: 3.773 MB / 0.9109 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.03503, allocations: 3.7 MB / 0.9145 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.03739, allocations: 2.857 MB / 0.9173 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004777/0.03786, allocations: 0.5078 MB / 0.9178 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007198/0.03858, allocations: 0.5935 MB / 0.9184 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.03981, allocations: 2.225 MB / 0.9206 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.04104, allocations: 1.672 MB / 0.9222 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.04373, allocations: 4.106 MB / 0.9262 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.04373, allocations: 4 kB / 0.9262 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.242e-06/0.04373, allocations: 0 / 0.9262 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.528e-05/0.04377, allocations: 0 / 0.9262 GB, free: 4.91 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004008/0.04778, allocations: 4.381 MB / 0.9305 GB, free: 480 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.04782, allocations: 12.03 kB / 0.9305 GB, free: 468 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.05001, allocations: 1.207 MB / 0.9317 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.05236, allocations: 2.435 MB / 0.9341 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.05249, allocations: 271.6 kB / 0.9343 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004358/0.05292, allocations: 384.8 kB / 0.9347 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.05683, allocations: 3.976 MB / 0.9386 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.076e-05/0.05689, allocations: 23.81 kB / 0.9386 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.05712, allocations: 167.9 kB / 0.9388 GB, free: 7.508 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003242/0.05745, allocations: 278.9 kB / 0.939 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.05981, allocations: 1.414 MB / 0.9404 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.07274, allocations: 19.86 MB / 0.9598 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.07342, allocations: 477 kB / 0.9602 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.07393, allocations: 406.2 kB / 0.9606 GB, free: 480 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.07398, allocations: 21 kB / 0.9607 GB, free: 456 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.07402, allocations: 46.39 kB / 0.9607 GB, free: 400 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 4.228e-06/0.07403, allocations: 0 / 0.9607 GB, free: 400 kB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.008364/0.08239, allocations: 5.064 MB / 0.9656 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.08242, allocations: 64.72 kB / 0.9657 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.08344, allocations: 1.312 MB / 0.967 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/0.08351, allocations: 49.7 kB / 0.967 GB, free: 9.805 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000743/0.08425, allocations: 1.78 MB / 0.9688 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.08451, allocations: 499.8 kB / 0.9693 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.08484, allocations: 333 kB / 0.9696 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.08495, allocations: 476.8 kB / 0.97 GB, free: 6.715 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.08545, allocations: 331.8 kB / 0.9703 GB, free: 6.391 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.08626, allocations: 1.101 MB / 0.9714 GB, free: 4.957 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.08772, allocations: 1.571 MB / 0.973 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.08773, allocations: 4 kB / 0.973 GB, free: 3.055 MB / 0.9323 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00258/0.09031, allocations: 1.992 MB / 0.9749 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.09033, allocations: 12 kB / 0.9749 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.09034, allocations: 16 kB / 0.9749 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.09173, allocations: 0.6102 MB / 0.9755 GB, free: 348 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.0925, allocations: 383.5 kB / 0.9759 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008342/0.1008, allocations: 17.18 MB / 0.9927 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.1014, allocations: 99.91 kB / 0.9928 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.1015, allocations: 83.92 kB / 0.9928 GB, free: 13.49 MB / 0.9636 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,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.0006102/0.1021, allocations: 276 kB / 0.9931 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.1024, allocations: 238.8 kB / 0.9933 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.1045, allocations: 1.517 MB / 0.9948 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1045, allocations: 12 kB / 0.9948 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1045, allocations: 12 kB / 0.9948 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1045, allocations: 7.969 kB / 0.9948 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/0.1094, allocations: 4.194 MB / 0.9989 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.1094, allocations: 4 kB / 0.9989 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.11, allocations: 239.6 kB / 0.9992 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.1112, allocations: 0.5786 MB / 0.9997 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.1113, allocations: 32 kB / 0.9998 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007834/0.1191, allocations: 17.14 MB / 1.017 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1191, allocations: 4 kB / 1.017 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.1216, allocations: 2.076 MB / 1.019 GB, free: 1.637 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.1221, allocations: 362.6 kB / 1.019 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.1222, allocations: 31.98 kB / 1.019 GB, free: 1.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.1226, allocations: 95.88 kB / 1.019 GB, free: 1.156 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.1228, allocations: 120.6 kB / 1.019 GB, free: 1.035 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.1229, allocations: 39.94 kB / 1.019 GB, free: 0.9961 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006233/0.1235, allocations: 0.7486 MB / 1.02 GB, free: 260 kB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.1235, allocations: 4 kB / 1.02 GB, free: 256 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001544/0.1251, allocations: 0.6954 MB / 1.021 GB, free: 15.55 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (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 Backend phase and start with SimCode phase: time 0.0002088/0.1253, allocations: 153.7 kB / 1.021 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002578/0.1278, allocations: 2.875 MB / 1.024 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.1278, allocations: 192 / 1.024 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.1294, allocations: 2.282 MB / 1.026 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.1308, allocations: 0.6368 MB / 1.026 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006768/0.1376, allocations: 5.839 MB / 1.032 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007728/0.1384, allocations: 0.9324 MB / 1.033 GB, free: 2.363 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007139/0.1391, allocations: 388.5 kB / 1.033 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.1393, allocations: 112.5 kB / 1.033 GB, free: 1.867 MB / 0.9948 GB Notification: Performance of SimCode: time 1.122e-06/0.1393, allocations: 0 / 1.033 GB, free: 1.867 MB / 0.9948 GB Notification: Performance of Templates: time 0.3595/0.4988, allocations: 35.97 MB / 1.069 GB, free: 179 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.025099825114012]