Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001038/0.001038, allocations: 81.95 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.001155/0.001155, allocations: 166 kB / 24.87 MB, free: 9.258 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.9615/0.9615, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.685/1.685, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.438e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.008645/0.008659, allocations: 11.57 MB / 0.7996 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004313/0.01297, allocations: 3.609 MB / 0.8032 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.01352, allocations: 111.2 kB / 0.8033 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007978/0.01432, allocations: 496.5 kB / 0.8037 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.01542, allocations: 1.111 MB / 0.8048 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.01642, allocations: 1.009 MB / 0.8058 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002755/0.01917, allocations: 4.869 MB / 0.8106 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.02155, allocations: 3.123 MB / 0.8136 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.0236, allocations: 2.998 MB / 0.8165 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.02545, allocations: 2.383 MB / 0.8189 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.02579, allocations: 428.8 kB / 0.8193 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.02633, allocations: 0.4999 MB / 0.8198 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0009786/0.02731, allocations: 1.81 MB / 0.8215 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.02837, allocations: 1.349 MB / 0.8228 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.03049, allocations: 3.354 MB / 0.8261 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.0305, allocations: 0 / 0.8261 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.021e-06/0.0305, allocations: 1.344 kB / 0.8261 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.03052, allocations: 4 kB / 0.8261 GB, free: 5.371 MB / 0.7761 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.003219/0.03374, allocations: 3.569 MB / 0.8296 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.03377, allocations: 12.03 kB / 0.8296 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.03546, allocations: 0.902 MB / 0.8305 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.03711, allocations: 1.745 MB / 0.8322 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.03722, allocations: 222.3 kB / 0.8324 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.0375, allocations: 308.3 kB / 0.8327 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.04002, allocations: 2.94 MB / 0.8356 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.307e-05/0.04008, allocations: 12.11 kB / 0.8356 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.04026, allocations: 131.9 kB / 0.8357 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/0.04048, allocations: 213.8 kB / 0.8359 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.04167, allocations: 0.898 MB / 0.8368 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008297/0.04997, allocations: 13.63 MB / 0.8501 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.0505, allocations: 0.5054 MB / 0.8506 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.0509, allocations: 390.4 kB / 0.851 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.05095, allocations: 20.94 kB / 0.851 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.05098, allocations: 50.39 kB / 0.8511 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=107): time 2.334e-06/0.05098, allocations: 0 / 0.8511 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=138): time 0.006535/0.05752, allocations: 3.818 MB / 0.8548 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.05755, allocations: 64.72 kB / 0.8548 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/0.05817, allocations: 0.9844 MB / 0.8558 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.15e-05/0.05823, allocations: 49.7 kB / 0.8558 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/0.05878, allocations: 1.396 MB / 0.8572 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.05904, allocations: 0.5075 MB / 0.8577 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.05934, allocations: 309 kB / 0.858 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.05945, allocations: 476.8 kB / 0.8585 GB, free: 3.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.05973, allocations: 235.8 kB / 0.8587 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.06026, allocations: 0.8219 MB / 0.8595 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00091/0.06117, allocations: 1.18 MB / 0.8606 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.06118, allocations: 4 kB / 0.8606 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002199/0.06337, allocations: 1.747 MB / 0.8623 GB, free: 14.85 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.06339, allocations: 10.19 kB / 0.8624 GB, free: 14.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.06341, allocations: 16 kB / 0.8624 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.06522, allocations: 0.8859 MB / 0.8632 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.06567, allocations: 231.6 kB / 0.8635 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/0.07218, allocations: 8.718 MB / 0.872 GB, free: 4.648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.07259, allocations: 44 kB / 0.872 GB, free: 4.605 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.07266, allocations: 52 kB / 0.8721 GB, free: 4.555 MB / 0.823 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.0004566/0.07312, allocations: 256.1 kB / 0.8723 GB, free: 4.293 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.07331, allocations: 203 kB / 0.8725 GB, free: 4.094 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.07531, allocations: 1.505 MB / 0.874 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.07531, allocations: 12 kB / 0.874 GB, free: 2.547 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.07532, allocations: 12 kB / 0.874 GB, free: 2.535 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.07533, allocations: 16.09 kB / 0.874 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.07911, allocations: 3.204 MB / 0.8771 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.07912, allocations: 12.03 kB / 0.8772 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.07938, allocations: 119.8 kB / 0.8773 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.08103, allocations: 0.8193 MB / 0.8781 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.08108, allocations: 27.94 kB / 0.8781 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/0.08733, allocations: 8.667 MB / 0.8866 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.08733, allocations: 4 kB / 0.8866 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.08925, allocations: 1.742 MB / 0.8883 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.08959, allocations: 294.8 kB / 0.8885 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.0897, allocations: 28 kB / 0.8886 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.09004, allocations: 32 kB / 0.8886 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.09021, allocations: 132.6 kB / 0.8887 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.09026, allocations: 32 kB / 0.8888 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003464/0.0906, allocations: 0.5456 MB / 0.8893 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.0906, allocations: 0 / 0.8893 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001181/0.09179, allocations: 0.6641 MB / 0.8899 GB, free: 1.625 MB / 0.8386 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.0001656/0.09195, allocations: 147 kB / 0.8901 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.09375, allocations: 1.956 MB / 0.892 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.09375, allocations: 4 kB / 0.892 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.09499, allocations: 1.494 MB / 0.8934 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.09608, allocations: 479.6 kB / 0.8939 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.1008, allocations: 4.786 MB / 0.8986 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.1014, allocations: 0.8039 MB / 0.8994 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000392/0.1018, allocations: 177.5 kB / 0.8995 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.1024, allocations: 453.9 kB / 0.9 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.1024, allocations: 0 / 0.9 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.03848/0.1409, allocations: 36.22 MB / 0.9353 GB, free: 3.555 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.432795004919171]