Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001921/0.001921, allocations: 80.69 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002394/0.002394, allocations: 162.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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.614/1.614, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.713/2.713, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] 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_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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.549e-05, allocations: 6.219 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04057/0.04059, allocations: 30.83 MB / 0.9811 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.0589, allocations: 10.13 MB / 0.991 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.06134, allocations: 198.5 kB / 0.9912 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.07169, allocations: 3.749 MB / 0.9948 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006735/0.07843, allocations: 2 MB / 0.9968 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005903/0.08433, allocations: 2.164 MB / 0.9989 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009895/0.09422, allocations: 7.457 MB / 1.006 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007935/0.1022, allocations: 5.12 MB / 1.011 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00758/0.1097, allocations: 4.592 MB / 1.016 GB, free: 8.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005491/0.1152, allocations: 3.234 MB / 1.019 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.1165, allocations: 0.6484 MB / 1.019 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.1201, allocations: 1.676 MB / 1.021 GB, free: 3.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003543/0.1236, allocations: 2.732 MB / 1.024 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00349/0.1271, allocations: 2.012 MB / 1.026 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.1405, allocations: 10.32 MB / 1.036 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1405, allocations: 0 / 1.036 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1405, allocations: 0 / 1.036 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002355/0.1407, allocations: 0 / 1.036 GB, free: 4.316 MB / 0.9356 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.01126/0.152, allocations: 4.994 MB / 1.041 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.152, allocations: 15.97 kB / 1.041 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.1575, allocations: 0.9891 MB / 1.042 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006291/0.1638, allocations: 2.998 MB / 1.045 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.1641, allocations: 353.7 kB / 1.045 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009479/0.1651, allocations: 456.3 kB / 1.045 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.1792, allocations: 7.976 MB / 1.053 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.1794, allocations: 28.02 kB / 1.053 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005377/0.1799, allocations: 200.3 kB / 1.053 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003843/0.1803, allocations: 316.9 kB / 1.054 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.1911, allocations: 5.706 MB / 1.059 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03299/0.2241, allocations: 21.87 MB / 1.081 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.227, allocations: 1.561 MB / 1.082 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.2286, allocations: 1.124 MB / 1.083 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.339e-05/0.2287, allocations: 13.31 kB / 1.083 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.2288, allocations: 47.81 kB / 1.083 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 3.346e-06/0.2288, allocations: 0 / 1.083 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01632/0.2451, allocations: 6.199 MB / 1.089 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.2452, allocations: 64.72 kB / 1.089 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.2481, allocations: 1.399 MB / 1.091 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.2483, allocations: 53.64 kB / 1.091 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/0.2504, allocations: 2.057 MB / 1.093 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007777/0.2512, allocations: 499.7 kB / 1.093 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000844/0.252, allocations: 351.4 kB / 1.094 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.2522, allocations: 305.1 kB / 1.094 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.2544, allocations: 0.9096 MB / 1.095 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.2575, allocations: 1.593 MB / 1.096 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005292/0.2627, allocations: 2.729 MB / 1.099 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/0.2628, allocations: 8 kB / 1.099 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.4775/0.7403, allocations: 3.506 MB / 1.102 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.7403, allocations: 14.97 kB / 1.102 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.7404, allocations: 22.88 kB / 1.103 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003047/0.7434, allocations: 0.8981 MB / 1.103 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.7449, allocations: 349.6 kB / 1.104 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01827/0.7632, allocations: 21.45 MB / 1.125 GB, free: 125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.7648, allocations: 99.78 kB / 1.125 GB, free: 125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.765, allocations: 89.78 kB / 1.125 GB, free: 125 MB / 0.9981 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.002449/0.7674, allocations: 1.611 MB / 1.126 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.7678, allocations: 202.5 kB / 1.127 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/0.773, allocations: 2.961 MB / 1.13 GB, free: 123 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.773, allocations: 13.47 kB / 1.13 GB, free: 123 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.773, allocations: 10.09 kB / 1.13 GB, free: 123 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.773, allocations: 6.469 kB / 1.13 GB, free: 123 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.7835, allocations: 6.006 MB / 1.135 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.7835, allocations: 8.062 kB / 1.135 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/0.7844, allocations: 179.1 kB / 1.136 GB, free: 120.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.7869, allocations: 0.8264 MB / 1.136 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.787, allocations: 29.97 kB / 1.136 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.8028, allocations: 20.31 MB / 1.156 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.8028, allocations: 9.641 kB / 1.156 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.8078, allocations: 2.992 MB / 1.159 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/0.8088, allocations: 383.8 kB / 1.16 GB, free: 101.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.809, allocations: 30.94 kB / 1.16 GB, free: 101.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008406/0.8099, allocations: 69.86 kB / 1.16 GB, free: 101.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004869/0.8104, allocations: 130.4 kB / 1.16 GB, free: 101.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.475e-05/0.8104, allocations: 36.84 kB / 1.16 GB, free: 101.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001435/0.8119, allocations: 0.8962 MB / 1.161 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8119, allocations: 0 / 1.161 GB, free: 101.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003136/0.815, allocations: 0.786 MB / 1.161 GB, free: 101.3 MB / 0.9981 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.000234/0.8153, allocations: 146.7 kB / 1.162 GB, free: 101.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005464/0.8207, allocations: 3.915 MB / 1.165 GB, free: 98.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.8207, allocations: 1.062 kB / 1.165 GB, free: 98.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00345/0.8242, allocations: 2.652 MB / 1.168 GB, free: 97.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.8274, allocations: 0.7084 MB / 1.169 GB, free: 96.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.8394, allocations: 7.33 MB / 1.176 GB, free: 93.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002947/0.8423, allocations: 2.559 MB / 1.178 GB, free: 92.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001283/0.8436, allocations: 449 kB / 1.179 GB, free: 92.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.8439, allocations: 115.3 kB / 1.179 GB, free: 92.64 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/0.8439, allocations: 0 / 1.179 GB, free: 92.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.05226/0.8961, allocations: 36.13 MB / 1.214 GB, free: 62 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.751709140837193]