Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001734/0.001734, allocations: 92.72 kB / 19.44 MB, free: 472 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.002339/0.002339, allocations: 157.6 kB / 22.75 MB, free: 1.805 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 1.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.261/3.261, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] 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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.636e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04523/0.04526, allocations: 30.82 MB / 0.9077 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02038/0.06564, allocations: 10.17 MB / 0.9177 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.06838, allocations: 190.6 kB / 0.9178 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.07952, allocations: 3.749 MB / 0.9215 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/0.08528, allocations: 2 MB / 0.9234 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005932/0.09121, allocations: 2.147 MB / 0.9255 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.1016, allocations: 7.465 MB / 0.9328 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.1116, allocations: 5.12 MB / 0.9378 GB, free: 8.543 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009314/0.1209, allocations: 4.592 MB / 0.9423 GB, free: 3.941 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006446/0.1273, allocations: 3.238 MB / 0.9455 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001661/0.129, allocations: 0.6484 MB / 0.9461 GB, free: 48 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.1335, allocations: 1.684 MB / 0.9478 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.004488/0.138, allocations: 2.728 MB / 0.9504 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00464/0.1426, allocations: 2.016 MB / 0.9524 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.1573, allocations: 10.32 MB / 0.9625 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1573, allocations: 0 / 0.9625 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1573, allocations: 0 / 0.9625 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002715/0.1576, allocations: 0 / 0.9625 GB, free: 15.25 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01179/0.1694, allocations: 4.997 MB / 0.9674 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1694, allocations: 11.97 kB / 0.9674 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/0.176, allocations: 1.585 MB / 0.9689 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006973/0.183, allocations: 3.182 MB / 0.972 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.1833, allocations: 345.7 kB / 0.9723 GB, free: 5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.1844, allocations: 468.3 kB / 0.9728 GB, free: 4.543 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.2005, allocations: 7.976 MB / 0.9806 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.2006, allocations: 24.02 kB / 0.9806 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005868/0.2012, allocations: 204.3 kB / 0.9808 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004204/0.2016, allocations: 316.9 kB / 0.9811 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.2132, allocations: 5.702 MB / 0.9867 GB, free: 5.891 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03336/0.2466, allocations: 22.05 MB / 1.008 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.2496, allocations: 1.557 MB / 1.01 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.2514, allocations: 1.124 MB / 1.011 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.072e-05/0.2515, allocations: 21.31 kB / 1.011 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.2516, allocations: 43.88 kB / 1.011 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=133): time 3.687e-06/0.2516, allocations: 4 kB / 1.011 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136): time 0.01581/0.2674, allocations: 6.238 MB / 1.017 GB, free: 6.152 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.2675, allocations: 64.72 kB / 1.017 GB, free: 6.074 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.2698, allocations: 1.419 MB / 1.018 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.2699, allocations: 49.64 kB / 1.018 GB, free: 4.598 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.2717, allocations: 2.061 MB / 1.02 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000566/0.2723, allocations: 0.4996 MB / 1.021 GB, free: 2.016 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006253/0.2729, allocations: 343.4 kB / 1.021 GB, free: 1.676 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2731, allocations: 305.1 kB / 1.022 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.2746, allocations: 0.9096 MB / 1.022 GB, free: 476 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.2769, allocations: 1.593 MB / 1.024 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/0.2811, allocations: 2.737 MB / 1.027 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.2811, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007343/0.2884, allocations: 3.59 MB / 1.03 GB, free: 7.875 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.2884, allocations: 12 kB / 1.03 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.2885, allocations: 24 kB / 1.03 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/0.2921, allocations: 1.009 MB / 1.031 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.2933, allocations: 351.3 kB / 1.032 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3567/0.6501, allocations: 21.52 MB / 1.053 GB, free: 196.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.6516, allocations: 110.8 kB / 1.053 GB, free: 196.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.6517, allocations: 83.59 kB / 1.053 GB, free: 196.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.001852/0.6535, allocations: 1.608 MB / 1.054 GB, free: 196.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/0.6539, allocations: 244.3 kB / 1.055 GB, free: 196.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.6583, allocations: 2.959 MB / 1.057 GB, free: 196.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6583, allocations: 14.59 kB / 1.057 GB, free: 196.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.6584, allocations: 14.75 kB / 1.058 GB, free: 196.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6584, allocations: 10.2 kB / 1.058 GB, free: 196.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008538/0.6669, allocations: 6.012 MB / 1.063 GB, free: 193.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.6669, allocations: 2.906 kB / 1.063 GB, free: 193.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.6677, allocations: 178.4 kB / 1.064 GB, free: 193.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.6704, allocations: 0.9244 MB / 1.064 GB, free: 193.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.6705, allocations: 31.03 kB / 1.064 GB, free: 193.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/0.6848, allocations: 20.37 MB / 1.084 GB, free: 176.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6848, allocations: 9.688 kB / 1.084 GB, free: 176.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.6894, allocations: 3.04 MB / 1.087 GB, free: 175.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.6902, allocations: 381.3 kB / 1.088 GB, free: 175.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.6904, allocations: 30.81 kB / 1.088 GB, free: 175.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.6912, allocations: 69.08 kB / 1.088 GB, free: 175.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/0.6915, allocations: 131.2 kB / 1.088 GB, free: 175.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.6916, allocations: 37.53 kB / 1.088 GB, free: 175 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00099/0.6926, allocations: 0.9036 MB / 1.089 GB, free: 174.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6926, allocations: 2.906 kB / 1.089 GB, free: 174.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002462/0.695, allocations: 0.8 MB / 1.09 GB, free: 174.6 MB / 1.01 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0001947/0.6952, allocations: 141.2 kB / 1.09 GB, free: 174.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004949/0.7002, allocations: 3.919 MB / 1.094 GB, free: 172.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7002, allocations: 0.9688 kB / 1.094 GB, free: 172.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003232/0.7034, allocations: 2.676 MB / 1.096 GB, free: 170.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.7065, allocations: 0.7198 MB / 1.097 GB, free: 170.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.7186, allocations: 7.441 MB / 1.104 GB, free: 166.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/0.7219, allocations: 2.562 MB / 1.107 GB, free: 166 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001379/0.7233, allocations: 445.2 kB / 1.107 GB, free: 166 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.7236, allocations: 112.4 kB / 1.107 GB, free: 166 MB / 1.01 GB Notification: Performance of SimCode: time 1.293e-06/0.7236, allocations: 0 / 1.107 GB, free: 166 MB / 1.01 GB Notification: Performance of Templates: time 0.05885/0.7825, allocations: 36.39 MB / 1.143 GB, free: 157 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.819598676054738]