Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001368/0.001368, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001651/0.001651, allocations: 171.1 kB / 24.87 MB, free: 8.891 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.9919/0.9919, allocations: 177.2 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.882/1.882, allocations: 377.9 MB / 0.6247 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_N,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_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8128 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.621e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009151/0.009167, allocations: 11.56 MB / 0.8241 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004726/0.01389, allocations: 3.604 MB / 0.8276 GB, free: 2.199 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005926/0.01449, allocations: 115.1 kB / 0.8277 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000811/0.0153, allocations: 0.4939 MB / 0.8282 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.01648, allocations: 1.103 MB / 0.8293 GB, free: 500 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.01756, allocations: 1.014 MB / 0.8303 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002844/0.0204, allocations: 4.881 MB / 0.835 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.02286, allocations: 3.127 MB / 0.8381 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.02494, allocations: 3.004 MB / 0.841 GB, free: 4.375 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.02683, allocations: 2.373 MB / 0.8433 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.02717, allocations: 428 kB / 0.8438 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005394/0.02771, allocations: 0.5076 MB / 0.8443 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.02871, allocations: 1.808 MB / 0.846 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0009886/0.0297, allocations: 1.349 MB / 0.8473 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.03189, allocations: 3.35 MB / 0.8506 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.03189, allocations: 0 / 0.8506 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.41e-07/0.03189, allocations: 0.9375 kB / 0.8506 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.559e-05/0.03192, allocations: 4 kB / 0.8506 GB, free: 10.55 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003303/0.03522, allocations: 3.569 MB / 0.8541 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.03525, allocations: 12.59 kB / 0.8541 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.03695, allocations: 0.8939 MB / 0.855 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.03874, allocations: 1.76 MB / 0.8567 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.03885, allocations: 222.3 kB / 0.8569 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.03915, allocations: 304.3 kB / 0.8572 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.04185, allocations: 2.933 MB / 0.8601 GB, free: 436 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/0.0419, allocations: 16.06 kB / 0.8601 GB, free: 420 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.0421, allocations: 131.9 kB / 0.8602 GB, free: 288 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002204/0.04232, allocations: 217.8 kB / 0.8604 GB, free: 68 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.04389, allocations: 0.9019 MB / 0.8613 GB, free: 15.15 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009494/0.05339, allocations: 13.64 MB / 0.8746 GB, free: 1.117 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.05449, allocations: 0.5047 MB / 0.8751 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.05515, allocations: 382.4 kB / 0.8755 GB, free: 224 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.0552, allocations: 17 kB / 0.8755 GB, free: 208 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.05524, allocations: 50.39 kB / 0.8755 GB, free: 144 kB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 3.396e-06/0.05524, allocations: 0 / 0.8755 GB, free: 144 kB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.009767/0.06501, allocations: 3.817 MB / 0.8793 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.06504, allocations: 64.72 kB / 0.8793 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.06568, allocations: 0.9805 MB / 0.8803 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.055e-05/0.06574, allocations: 49.7 kB / 0.8803 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/0.06631, allocations: 1.4 MB / 0.8817 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/0.06683, allocations: 0.5036 MB / 0.8822 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.06713, allocations: 309 kB / 0.8825 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.06722, allocations: 480.8 kB / 0.8829 GB, free: 8.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.06751, allocations: 231.8 kB / 0.8832 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.06804, allocations: 0.8141 MB / 0.884 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.06896, allocations: 1.18 MB / 0.8851 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.06896, allocations: 4 kB / 0.8851 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002362/0.07132, allocations: 1.747 MB / 0.8868 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.07134, allocations: 18.56 kB / 0.8868 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.07136, allocations: 16 kB / 0.8869 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/0.0732, allocations: 0.8939 MB / 0.8877 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.07365, allocations: 223.7 kB / 0.8879 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006932/0.08059, allocations: 8.718 MB / 0.8965 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.08101, allocations: 40 kB / 0.8965 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.08108, allocations: 52 kB / 0.8965 GB, free: 9.75 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.08152, allocations: 252.1 kB / 0.8968 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.08171, allocations: 203 kB / 0.897 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.08474, allocations: 1.509 MB / 0.8984 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.08475, allocations: 12 kB / 0.8985 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.08476, allocations: 12 kB / 0.8985 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.08477, allocations: 7.984 kB / 0.8985 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005909/0.09068, allocations: 3.216 MB / 0.9016 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.09069, allocations: 4 kB / 0.9016 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.09112, allocations: 115.8 kB / 0.9017 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002585/0.09371, allocations: 0.8193 MB / 0.9025 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.09377, allocations: 31.94 kB / 0.9026 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/0.1004, allocations: 8.69 MB / 0.911 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1004, allocations: 11.94 kB / 0.9111 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.1027, allocations: 1.726 MB / 0.9127 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.103, allocations: 298.8 kB / 0.913 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.1031, allocations: 28 kB / 0.9131 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.1035, allocations: 28 kB / 0.9131 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.1037, allocations: 136.6 kB / 0.9132 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.1037, allocations: 32 kB / 0.9132 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000361/0.1041, allocations: 0.5417 MB / 0.9138 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1041, allocations: 0 / 0.9138 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001191/0.1053, allocations: 0.6719 MB / 0.9144 GB, free: 6.805 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000172/0.1055, allocations: 139.1 kB / 0.9146 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.1074, allocations: 1.951 MB / 0.9165 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1074, allocations: 4 kB / 0.9165 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.1087, allocations: 1.495 MB / 0.9179 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.1098, allocations: 479.9 kB / 0.9184 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/0.1157, allocations: 4.778 MB / 0.9231 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008278/0.1166, allocations: 0.8078 MB / 0.9238 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004409/0.117, allocations: 173.5 kB / 0.924 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/0.1176, allocations: 453.9 kB / 0.9244 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of SimCode: time 7.71e-07/0.1176, allocations: 0 / 0.9244 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of Templates: time 0.04257/0.1602, allocations: 36.22 MB / 0.9598 GB, free: 8.758 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 5.650487968698144]