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.001814/0.001814, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.002801/0.002801, allocations: 159.5 kB / 23.01 MB, free: 4.961 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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 2.888/2.888, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 67.89 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9166/0.9189, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03237/0.9513, allocations: 31.53 MB / 1.217 GB, free: 12.64 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.9707, allocations: 10.29 MB / 1.227 GB, free: 5.902 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.9741, allocations: 193.1 kB / 1.228 GB, free: 5.812 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.9849, allocations: 3.734 MB / 1.231 GB, free: 3.707 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006424/0.9913, allocations: 1.955 MB / 1.233 GB, free: 2.508 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006426/0.9977, allocations: 2.141 MB / 1.235 GB, free: 1.301 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01044/1.008, allocations: 7.321 MB / 1.242 GB, free: 13.98 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008109/1.016, allocations: 5.101 MB / 1.247 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005768/1.022, allocations: 3.305 MB / 1.251 GB, free: 9.258 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006317/1.028, allocations: 3.449 MB / 1.254 GB, free: 7.172 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001433/1.03, allocations: 0.6451 MB / 1.255 GB, free: 7.172 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/1.034, allocations: 1.654 MB / 1.256 GB, free: 6.602 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003484/1.038, allocations: 2.604 MB / 1.259 GB, free: 4.914 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004544/1.042, allocations: 2.341 MB / 1.261 GB, free: 3.426 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/1.055, allocations: 10.18 MB / 1.271 GB, free: 12.09 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.055, allocations: 4 kB / 1.271 GB, free: 12.09 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.065e-06/1.055, allocations: 3.938 kB / 1.271 GB, free: 12.08 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002803/1.056, allocations: 0 / 1.271 GB, free: 12.08 MB / 1.123 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.01299/1.068, allocations: 5.045 MB / 1.276 GB, free: 8.684 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/1.069, allocations: 9.312 kB / 1.276 GB, free: 8.684 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005592/1.074, allocations: 0.9935 MB / 1.277 GB, free: 8.191 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006548/1.081, allocations: 2.992 MB / 1.28 GB, free: 6.293 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/1.081, allocations: 350 kB / 1.28 GB, free: 6.074 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008923/1.082, allocations: 468.3 kB / 1.281 GB, free: 5.617 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/1.096, allocations: 7.976 MB / 1.288 GB, free: 13.22 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/1.096, allocations: 31.77 kB / 1.288 GB, free: 13.19 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005622/1.097, allocations: 196 kB / 1.289 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004372/1.097, allocations: 313 kB / 1.289 GB, free: 12.69 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/1.107, allocations: 5.706 MB / 1.295 GB, free: 6.965 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03075/1.138, allocations: 21.92 MB / 1.316 GB, free: 408 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/1.141, allocations: 1.544 MB / 1.317 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/1.143, allocations: 1.129 MB / 1.319 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/1.143, allocations: 13.31 kB / 1.319 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/1.143, allocations: 51.81 kB / 1.319 GB, free: 13.64 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 3.257e-06/1.143, allocations: 0 / 1.319 GB, free: 13.64 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01407/1.157, allocations: 6.195 MB / 1.325 GB, free: 7.406 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/1.157, allocations: 68.66 kB / 1.325 GB, free: 7.328 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/1.159, allocations: 1.407 MB / 1.326 GB, free: 5.918 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-05/1.159, allocations: 45.7 kB / 1.326 GB, free: 5.867 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.16, allocations: 2.057 MB / 1.328 GB, free: 3.793 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000471/1.161, allocations: 0.5035 MB / 1.329 GB, free: 3.285 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005389/1.161, allocations: 351.3 kB / 1.329 GB, free: 2.934 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.161, allocations: 301.1 kB / 1.329 GB, free: 2.637 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.163, allocations: 0.9096 MB / 1.33 GB, free: 1.727 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/1.165, allocations: 1.605 MB / 1.332 GB, free: 15.82 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/1.168, allocations: 2.729 MB / 1.334 GB, free: 12.77 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.168, allocations: 8 kB / 1.334 GB, free: 12.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006279/1.175, allocations: 3.5 MB / 1.338 GB, free: 9.219 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.175, allocations: 16.19 kB / 1.338 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.175, allocations: 24 kB / 1.338 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/1.177, allocations: 0.9077 MB / 1.339 GB, free: 8.234 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.179, allocations: 351.3 kB / 1.339 GB, free: 7.891 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0231/1.202, allocations: 21.47 MB / 1.36 GB, free: 1.195 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/1.203, allocations: 107.9 kB / 1.36 GB, free: 1.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/1.204, allocations: 83.98 kB / 1.36 GB, free: 1.008 MB / 1.201 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.002828/1.206, allocations: 1.616 MB / 1.362 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/1.207, allocations: 198.8 kB / 1.362 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005475/1.212, allocations: 2.955 MB / 1.365 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.212, allocations: 19.94 kB / 1.365 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.212, allocations: 11.94 kB / 1.365 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.212, allocations: 7.969 kB / 1.365 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/1.223, allocations: 6.003 MB / 1.371 GB, free: 6.004 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.223, allocations: 4 kB / 1.371 GB, free: 6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/1.224, allocations: 171.7 kB / 1.371 GB, free: 5.832 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/1.227, allocations: 0.8258 MB / 1.372 GB, free: 4.969 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/1.227, allocations: 28 kB / 1.372 GB, free: 4.941 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/1.248, allocations: 20.33 MB / 1.392 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.248, allocations: 7.938 kB / 1.392 GB, free: 15.37 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/1.254, allocations: 2.998 MB / 1.395 GB, free: 12.26 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.255, allocations: 374.6 kB / 1.395 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.255, allocations: 35.97 kB / 1.395 GB, free: 11.86 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/1.256, allocations: 71.92 kB / 1.395 GB, free: 11.79 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/1.256, allocations: 128.6 kB / 1.395 GB, free: 11.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/1.256, allocations: 36 kB / 1.395 GB, free: 11.62 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001239/1.257, allocations: 0.8981 MB / 1.396 GB, free: 10.73 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.257, allocations: 4 kB / 1.396 GB, free: 10.73 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002998/1.26, allocations: 0.7812 MB / 1.397 GB, free: 9.949 MB / 1.248 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.0002386/1.26, allocations: 147 kB / 1.397 GB, free: 9.797 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006281/1.267, allocations: 3.913 MB / 1.401 GB, free: 5.73 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.267, allocations: 4 kB / 1.401 GB, free: 5.727 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004266/1.271, allocations: 2.67 MB / 1.403 GB, free: 2.902 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/1.274, allocations: 0.7122 MB / 1.404 GB, free: 2.219 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.287, allocations: 7.34 MB / 1.411 GB, free: 10.78 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00373/1.291, allocations: 2.568 MB / 1.414 GB, free: 8.18 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001399/1.293, allocations: 449.2 kB / 1.414 GB, free: 7.738 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/1.293, allocations: 112.5 kB / 1.414 GB, free: 7.629 MB / 1.264 GB Notification: Performance of SimCode: time 6.61e-07/1.293, allocations: 0 / 1.414 GB, free: 7.629 MB / 1.264 GB Notification: Performance of Templates: time 0.06867/1.362, allocations: 36.31 MB / 1.45 GB, free: 4.004 MB / 1.295 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 -s ida -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/jenkins1/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: 10.172704890021123]