Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001519/0.001519, allocations: 114.8 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.001773/0.001773, allocations: 205.5 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.573/1.573, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 3.11/3.11, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.OnePhase.Loads.Examples.TestImpedance,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.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,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.OnePhase.Loads.Examples.TestImpedance") [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.002087/0.002087, allocations: 67.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005295/1.121, allocations: 4.912 MB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003964/1.125, allocations: 2.515 MB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004507/1.125, allocations: 35.84 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/1.126, allocations: 405.4 kB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001159/1.128, allocations: 475.1 kB / 1.33 GB, free: 19.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/1.129, allocations: 366.5 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00136/1.13, allocations: 0.9147 MB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/1.13, allocations: 294.9 kB / 1.332 GB, free: 18.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/1.131, allocations: 355.9 kB / 1.332 GB, free: 18.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/1.132, allocations: 365.1 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/1.132, allocations: 38.16 kB / 1.332 GB, free: 18.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009481/1.133, allocations: 408.7 kB / 1.333 GB, free: 18.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/1.133, allocations: 189.5 kB / 1.333 GB, free: 18.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003238/1.133, allocations: 318.1 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/1.135, allocations: 0.8957 MB / 1.334 GB, free: 17.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.135, allocations: 0.5938 kB / 1.334 GB, free: 17.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/1.135, allocations: 0 / 1.334 GB, free: 17.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.785e-05/1.135, allocations: 1.219 kB / 1.334 GB, free: 17.59 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.136, allocations: 0.9554 MB / 1.335 GB, free: 16.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/1.136, allocations: 13.42 kB / 1.335 GB, free: 16.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/1.138, allocations: 202.8 kB / 1.335 GB, free: 16.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.139, allocations: 0.5458 MB / 1.336 GB, free: 16.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/1.139, allocations: 31.31 kB / 1.336 GB, free: 16.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.139, allocations: 46.19 kB / 1.336 GB, free: 16.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/1.14, allocations: 0.8491 MB / 1.337 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.14, allocations: 12.06 kB / 1.337 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/1.14, allocations: 26.86 kB / 1.337 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/1.14, allocations: 71.59 kB / 1.337 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/1.141, allocations: 0.5634 MB / 1.337 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/1.145, allocations: 5.649 MB / 1.343 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007146/1.146, allocations: 425.8 kB / 1.343 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/1.146, allocations: 197.8 kB / 1.343 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/1.146, allocations: 2.938 kB / 1.343 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.146, allocations: 41.31 kB / 1.343 GB, free: 10.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 3.246e-06/1.146, allocations: 4 kB / 1.343 GB, free: 10.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002836/1.149, allocations: 1.501 MB / 1.345 GB, free: 9.262 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/1.149, allocations: 59.8 kB / 1.345 GB, free: 9.195 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/1.15, allocations: 0.4928 MB / 1.345 GB, free: 8.961 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/1.15, allocations: 30.83 kB / 1.345 GB, free: 8.926 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/1.15, allocations: 366.4 kB / 1.346 GB, free: 8.629 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.15, allocations: 122.4 kB / 1.346 GB, free: 8.535 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.15, allocations: 111.6 kB / 1.346 GB, free: 8.473 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.15, allocations: 368.3 kB / 1.346 GB, free: 8.133 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/1.151, allocations: 196.3 kB / 1.347 GB, free: 8.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/1.151, allocations: 444.2 kB / 1.347 GB, free: 7.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000826/1.152, allocations: 0.6917 MB / 1.348 GB, free: 7.148 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.152, allocations: 2.188 kB / 1.348 GB, free: 7.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001389/1.153, allocations: 0.8039 MB / 1.348 GB, free: 6.793 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.153, allocations: 9.547 kB / 1.349 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/1.154, allocations: 9.312 kB / 1.349 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/1.154, allocations: 155.9 kB / 1.349 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/1.155, allocations: 125.9 kB / 1.349 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/1.157, allocations: 4.354 MB / 1.353 GB, free: 2.422 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/1.158, allocations: 32.25 kB / 1.353 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/1.158, allocations: 28.77 kB / 1.353 GB, free: 2.41 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.0003098/1.158, allocations: 218.8 kB / 1.353 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/1.158, allocations: 61.94 kB / 1.353 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/1.159, allocations: 0.5952 MB / 1.354 GB, free: 1.926 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.159, allocations: 11.08 kB / 1.354 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.159, allocations: 2.219 kB / 1.354 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.159, allocations: 2.203 kB / 1.354 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/1.161, allocations: 1.25 MB / 1.355 GB, free: 1.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.161, allocations: 2.281 kB / 1.355 GB, free: 1.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/1.162, allocations: 54.77 kB / 1.355 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/1.162, allocations: 146.8 kB / 1.355 GB, free: 1.141 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/1.162, allocations: 12.09 kB / 1.355 GB, free: 1.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/1.166, allocations: 4.341 MB / 1.36 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.166, allocations: 2.156 kB / 1.36 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/1.167, allocations: 0.7146 MB / 1.36 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/1.168, allocations: 175 kB / 1.36 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/1.168, allocations: 8.188 kB / 1.36 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/1.168, allocations: 23.17 kB / 1.361 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/1.168, allocations: 35.09 kB / 1.361 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/1.168, allocations: 15.98 kB / 1.361 GB, free: 12.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005047/1.169, allocations: 330.2 kB / 1.361 GB, free: 12.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.169, allocations: 0 / 1.361 GB, free: 12.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008869/1.169, allocations: 142.4 kB / 1.361 GB, free: 12.09 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.0001761/1.17, allocations: 112.7 kB / 1.361 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.171, allocations: 1.014 MB / 1.362 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.171, allocations: 0 / 1.362 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.172, allocations: 0.7163 MB / 1.363 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.173, allocations: 211.2 kB / 1.363 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/1.175, allocations: 1.096 MB / 1.364 GB, free: 9.957 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/1.176, allocations: 0.9063 MB / 1.365 GB, free: 9.238 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.176, allocations: 43.42 kB / 1.365 GB, free: 9.23 MB / 1.076 GB Notification: Performance of SimCode: time 1.122e-06/1.176, allocations: 0 / 1.365 GB, free: 9.23 MB / 1.076 GB Notification: Performance of Templates: time 0.0346/1.211, allocations: 18.07 MB / 1.383 GB, free: 7.262 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 15.555630445000133]