Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0019/0.0019, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.002131/0.002131, allocations: 204 kB / 20.09 MB, free: 2.977 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.984/2.984, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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_12_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.003037/0.003037, allocations: 75.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.143, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005207/1.148, allocations: 4.975 MB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003637/1.151, allocations: 2.545 MB / 1.329 GB, free: 19.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/1.152, allocations: 36.5 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/1.153, allocations: 405.1 kB / 1.33 GB, free: 19.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009964/1.154, allocations: 472 kB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009481/1.155, allocations: 399 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001336/1.156, allocations: 0.9262 MB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/1.157, allocations: 292.8 kB / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/1.157, allocations: 352.7 kB / 1.332 GB, free: 18.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/1.158, allocations: 368.6 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/1.158, allocations: 38.03 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008932/1.159, allocations: 413.7 kB / 1.333 GB, free: 18.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/1.159, allocations: 197.5 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/1.159, allocations: 321 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/1.161, allocations: 0.8957 MB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.161, allocations: 1.062 kB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/1.161, allocations: 0 / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.567e-05/1.161, allocations: 0 / 1.334 GB, free: 17.49 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.001583/1.162, allocations: 0.9709 MB / 1.335 GB, free: 16.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/1.162, allocations: 9.906 kB / 1.335 GB, free: 16.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/1.164, allocations: 202.7 kB / 1.335 GB, free: 16.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/1.165, allocations: 0.553 MB / 1.336 GB, free: 16.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/1.165, allocations: 39.23 kB / 1.336 GB, free: 16.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.165, allocations: 45.98 kB / 1.336 GB, free: 16.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/1.166, allocations: 0.8489 MB / 1.337 GB, free: 15.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/1.166, allocations: 11.97 kB / 1.337 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/1.166, allocations: 19.84 kB / 1.337 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/1.166, allocations: 66.27 kB / 1.337 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000856/1.167, allocations: 0.5686 MB / 1.337 GB, free: 15.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/1.171, allocations: 5.648 MB / 1.343 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000795/1.172, allocations: 426.2 kB / 1.343 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/1.172, allocations: 201.4 kB / 1.344 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/1.172, allocations: 7.719 kB / 1.344 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/1.172, allocations: 36.8 kB / 1.344 GB, free: 10.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.275e-06/1.173, allocations: 1 kB / 1.344 GB, free: 10.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.00305/1.176, allocations: 1.513 MB / 1.345 GB, free: 9.148 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/1.176, allocations: 56.08 kB / 1.345 GB, free: 9.086 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006492/1.176, allocations: 0.4934 MB / 1.346 GB, free: 8.859 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/1.176, allocations: 30.73 kB / 1.346 GB, free: 8.824 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/1.176, allocations: 374.7 kB / 1.346 GB, free: 8.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.177, allocations: 130.8 kB / 1.346 GB, free: 8.418 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/1.177, allocations: 106.7 kB / 1.346 GB, free: 8.359 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.177, allocations: 366.5 kB / 1.347 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/1.177, allocations: 199.6 kB / 1.347 GB, free: 7.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/1.178, allocations: 447.7 kB / 1.347 GB, free: 7.562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/1.179, allocations: 0.6921 MB / 1.348 GB, free: 7.031 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.179, allocations: 2.312 kB / 1.348 GB, free: 7.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001493/1.18, allocations: 0.812 MB / 1.349 GB, free: 6.668 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/1.18, allocations: 9.953 kB / 1.349 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.18, allocations: 9.344 kB / 1.349 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/1.181, allocations: 147.3 kB / 1.349 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/1.181, allocations: 125.4 kB / 1.349 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/1.184, allocations: 4.351 MB / 1.353 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/1.184, allocations: 36.7 kB / 1.353 GB, free: 2.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/1.185, allocations: 28.02 kB / 1.353 GB, free: 2.293 MB / 1.061 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.0002987/1.185, allocations: 212 kB / 1.353 GB, free: 2.125 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.185, allocations: 66.73 kB / 1.354 GB, free: 2.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/1.186, allocations: 0.5956 MB / 1.354 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.186, allocations: 4.047 kB / 1.354 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.186, allocations: 5 kB / 1.354 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.186, allocations: 3.688 kB / 1.354 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/1.188, allocations: 1.259 MB / 1.355 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.188, allocations: 2.406 kB / 1.355 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/1.188, allocations: 63.5 kB / 1.355 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/1.189, allocations: 138.3 kB / 1.356 GB, free: 1.023 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/1.189, allocations: 11.28 kB / 1.356 GB, free: 1.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/1.193, allocations: 4.342 MB / 1.36 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.193, allocations: 2.656 kB / 1.36 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/1.194, allocations: 0.7105 MB / 1.361 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/1.194, allocations: 174.6 kB / 1.361 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/1.194, allocations: 12.75 kB / 1.361 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/1.195, allocations: 23.72 kB / 1.361 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/1.195, allocations: 39.16 kB / 1.361 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/1.195, allocations: 11.12 kB / 1.361 GB, free: 12.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005115/1.195, allocations: 339.8 kB / 1.361 GB, free: 11.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.195, allocations: 0 / 1.361 GB, free: 11.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007683/1.196, allocations: 138.8 kB / 1.361 GB, free: 11.97 MB / 1.076 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.0001871/1.196, allocations: 112.8 kB / 1.361 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001676/1.198, allocations: 1.014 MB / 1.362 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.198, allocations: 0 / 1.362 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009988/1.199, allocations: 0.7223 MB / 1.363 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.2, allocations: 205.5 kB / 1.363 GB, free: 10.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/1.202, allocations: 1.113 MB / 1.364 GB, free: 9.828 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/1.203, allocations: 0.9053 MB / 1.365 GB, free: 9.113 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/1.203, allocations: 44.38 kB / 1.365 GB, free: 9.105 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.203, allocations: 4 kB / 1.365 GB, free: 9.102 MB / 1.076 GB Notification: Performance of Templates: time 0.03171/1.234, allocations: 18.4 MB / 1.383 GB, free: 6.887 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.916158473002724]