Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001655/0.001655, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002091/0.002091, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.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 3.399/3.399, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [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.002223/0.002223, allocations: 67.39 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3493, allocations: 180.2 MB / 1.354 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007055/0.3563, allocations: 5.072 MB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004407/0.3607, allocations: 2.6 MB / 1.362 GB, free: 308 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.3611, allocations: 39.56 kB / 1.362 GB, free: 268 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.3624, allocations: 414 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.3635, allocations: 465.7 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009488/0.3644, allocations: 417.8 kB / 1.363 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3656, allocations: 0.9215 MB / 1.364 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.3661, allocations: 326.3 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.3666, allocations: 362.7 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.3672, allocations: 366.4 kB / 1.365 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.3672, allocations: 39.94 kB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007478/0.368, allocations: 415 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.3682, allocations: 179.4 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.3685, allocations: 322.2 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.3696, allocations: 0.891 MB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3696, allocations: 0 / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3696, allocations: 4 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.3696, allocations: 7.984 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001479/0.3711, allocations: 0.8895 MB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3711, allocations: 8.031 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.3723, allocations: 220.1 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009006/0.3732, allocations: 480.8 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.3732, allocations: 37.36 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.3733, allocations: 48.31 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.3745, allocations: 0.8523 MB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.3745, allocations: 7.938 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.3746, allocations: 24 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.3747, allocations: 68.95 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008746/0.3755, allocations: 0.5617 MB / 1.37 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/0.3806, allocations: 5.582 MB / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.3813, allocations: 422.3 kB / 1.375 GB, free: 1.426 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.3816, allocations: 204.7 kB / 1.376 GB, free: 1.223 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.3816, allocations: 3.938 kB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3817, allocations: 38.56 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.3817, allocations: 0 / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0025/0.3842, allocations: 1.144 MB / 1.377 GB, free: 4 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.3842, allocations: 55.69 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.3848, allocations: 0.4991 MB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.3848, allocations: 29.7 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.3851, allocations: 371.7 kB / 1.378 GB, free: 15.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3852, allocations: 123 kB / 1.378 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.3854, allocations: 114.2 kB / 1.378 GB, free: 14.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.3856, allocations: 370.7 kB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.3858, allocations: 197.2 kB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.3864, allocations: 443.3 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008896/0.3872, allocations: 0.6954 MB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3873, allocations: 4 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001324/0.3886, allocations: 0.8014 MB / 1.38 GB, free: 12.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3886, allocations: 12 kB / 1.38 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3886, allocations: 8 kB / 1.38 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.3891, allocations: 160.9 kB / 1.381 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.3896, allocations: 123.8 kB / 1.381 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.3933, allocations: 4.045 MB / 1.385 GB, free: 7.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.3937, allocations: 32.12 kB / 1.385 GB, free: 7.305 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.3937, allocations: 32 kB / 1.385 GB, free: 7.273 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002975/0.394, allocations: 214.2 kB / 1.385 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.3941, allocations: 63.62 kB / 1.385 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3952, allocations: 0.605 MB / 1.386 GB, free: 6.363 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3952, allocations: 4 kB / 1.386 GB, free: 6.359 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3952, allocations: 0 / 1.386 GB, free: 6.359 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3952, allocations: 0 / 1.386 GB, free: 6.359 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.3972, allocations: 1.234 MB / 1.387 GB, free: 5.039 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.3972, allocations: 4 kB / 1.387 GB, free: 5.035 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.3975, allocations: 51.89 kB / 1.387 GB, free: 4.984 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004023/0.3979, allocations: 144.3 kB / 1.387 GB, free: 4.828 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.3979, allocations: 11.94 kB / 1.387 GB, free: 4.816 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00361/0.4015, allocations: 4.038 MB / 1.391 GB, free: 444 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4015, allocations: 0 / 1.391 GB, free: 444 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4026, allocations: 0.716 MB / 1.392 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.4028, allocations: 99.47 kB / 1.392 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.4029, allocations: 11.98 kB / 1.392 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.4032, allocations: 23.97 kB / 1.392 GB, free: 15.53 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.4032, allocations: 31.83 kB / 1.392 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4032, allocations: 12 kB / 1.392 GB, free: 15.49 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004073/0.4037, allocations: 338.8 kB / 1.392 GB, free: 15.16 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4037, allocations: 4 kB / 1.392 GB, free: 15.16 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006703/0.4043, allocations: 140 kB / 1.392 GB, free: 15.02 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/0.4045, allocations: 112.8 kB / 1.392 GB, free: 14.9 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.4059, allocations: 0.8514 MB / 1.393 GB, free: 14 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4059, allocations: 0 / 1.393 GB, free: 14 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.4067, allocations: 0.5756 MB / 1.394 GB, free: 13.38 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/0.4077, allocations: 211.9 kB / 1.394 GB, free: 13.19 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.4094, allocations: 1.111 MB / 1.395 GB, free: 12.02 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.41, allocations: 0.9098 MB / 1.396 GB, free: 11.08 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4101, allocations: 43.44 kB / 1.396 GB, free: 11.04 MB / 1.092 GB Notification: Performance of SimCode: time 6.41e-07/0.4101, allocations: 0 / 1.396 GB, free: 11.04 MB / 1.092 GB Notification: Performance of Templates: time 0.02321/0.4333, allocations: 18.41 MB / 1.414 GB, free: 8.668 MB / 1.108 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 14.27228431700496]