Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001321/0.001321, allocations: 80.75 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.0009184/0.0009184, allocations: 181 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 0.9798/0.9798, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.437/2.437, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.489e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01426/0.01429, allocations: 11.58 MB / 0.8499 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.009224/0.02351, allocations: 3.701 MB / 0.8535 GB, free: 14.82 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.02507, allocations: 115.1 kB / 0.8536 GB, free: 14.71 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.02652, allocations: 0.4965 MB / 0.8541 GB, free: 14.21 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.02904, allocations: 1.107 MB / 0.8552 GB, free: 13.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.03138, allocations: 1.018 MB / 0.8562 GB, free: 12.08 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005691/0.03707, allocations: 4.88 MB / 0.861 GB, free: 7.184 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005027/0.0421, allocations: 3.318 MB / 0.8642 GB, free: 3.785 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.04625, allocations: 3.002 MB / 0.8671 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002799/0.04905, allocations: 2.288 MB / 0.8694 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0007818/0.04983, allocations: 428 kB / 0.8698 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.05086, allocations: 0.5075 MB / 0.8703 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.05211, allocations: 1.808 MB / 0.872 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.05374, allocations: 1.345 MB / 0.8733 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.05632, allocations: 3.346 MB / 0.8766 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.05632, allocations: 0 / 0.8766 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.755e-06/0.05633, allocations: 4 kB / 0.8766 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.01e-05/0.0564, allocations: 0 / 0.8766 GB, free: 7.039 MB / 0.8386 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.003381/0.05978, allocations: 3.226 MB / 0.8798 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.05981, allocations: 8.625 kB / 0.8798 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.06154, allocations: 0.8196 MB / 0.8806 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.06331, allocations: 1.558 MB / 0.8821 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.06342, allocations: 226.3 kB / 0.8823 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.06373, allocations: 304.3 kB / 0.8826 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.06632, allocations: 2.864 MB / 0.8854 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.06637, allocations: 24.05 kB / 0.8854 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.06657, allocations: 127.9 kB / 0.8855 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.06679, allocations: 213.8 kB / 0.8857 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.06788, allocations: 0.7928 MB / 0.8865 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007711/0.0756, allocations: 10.39 MB / 0.8967 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.07613, allocations: 0.5305 MB / 0.8972 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.0765, allocations: 339.6 kB / 0.8975 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.728e-05/0.07655, allocations: 17 kB / 0.8975 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.07658, allocations: 47.56 kB / 0.8976 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 4.248e-06/0.07659, allocations: 4 kB / 0.8976 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of matching and sorting (n=110): time 0.00734/0.08393, allocations: 3.919 MB / 0.9014 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.08396, allocations: 64.41 kB / 0.9015 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.08455, allocations: 0.8803 MB / 0.9023 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.08461, allocations: 45.7 kB / 0.9024 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.0851, allocations: 1.199 MB / 0.9035 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.08531, allocations: 404.5 kB / 0.9039 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.08554, allocations: 235.4 kB / 0.9041 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.08565, allocations: 365.8 kB / 0.9045 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.08585, allocations: 155.9 kB / 0.9046 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.08625, allocations: 0.5526 MB / 0.9052 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.08692, allocations: 0.8407 MB / 0.906 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.08692, allocations: 4 kB / 0.906 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001401/0.08832, allocations: 1.154 MB / 0.9071 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.08835, allocations: 10.03 kB / 0.9071 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.08836, allocations: 15.94 kB / 0.9072 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.08957, allocations: 0.5806 MB / 0.9077 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.08999, allocations: 215.6 kB / 0.9079 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/0.09412, allocations: 4.578 MB / 0.9124 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.09448, allocations: 43.94 kB / 0.9124 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.09454, allocations: 52 kB / 0.9125 GB, free: 0.9102 MB / 0.8698 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005181/0.09506, allocations: 196.2 kB / 0.9127 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.09521, allocations: 127.9 kB / 0.9128 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.09645, allocations: 0.9842 MB / 0.9138 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.09646, allocations: 12 kB / 0.9138 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.09647, allocations: 8 kB / 0.9138 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.09647, allocations: 11.97 kB / 0.9138 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.09939, allocations: 2.182 MB / 0.9159 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.0994, allocations: 4 kB / 0.9159 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.09966, allocations: 107.8 kB / 0.916 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.1008, allocations: 0.5601 MB / 0.9166 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.1008, allocations: 20 kB / 0.9166 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.1047, allocations: 4.576 MB / 0.9211 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1048, allocations: 7.938 kB / 0.9211 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.1061, allocations: 1.135 MB / 0.9222 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.1064, allocations: 211 kB / 0.9224 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/0.1065, allocations: 35.94 kB / 0.9224 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.1067, allocations: 20 kB / 0.9224 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.1069, allocations: 96.77 kB / 0.9225 GB, free: 6.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.1069, allocations: 23.98 kB / 0.9226 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003292/0.1073, allocations: 437.9 kB / 0.923 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1073, allocations: 0 / 0.923 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001042/0.1083, allocations: 0.5859 MB / 0.9235 GB, free: 5.227 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.1085, allocations: 112.3 kB / 0.9237 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.1098, allocations: 1.263 MB / 0.9249 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.482e-05/0.1099, allocations: 21.81 kB / 0.9249 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000829/0.1107, allocations: 0.9143 MB / 0.9258 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.1116, allocations: 472.2 kB / 0.9263 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.1166, allocations: 4.648 MB / 0.9308 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.1172, allocations: 0.7502 MB / 0.9315 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003991/0.1176, allocations: 176.5 kB / 0.9317 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/0.1182, allocations: 391.1 kB / 0.9321 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of SimCode: time 9.62e-07/0.1182, allocations: 0 / 0.9321 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of Templates: time 0.03236/0.1506, allocations: 29.36 MB / 0.9607 GB, free: 15.56 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.764891149010509]