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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002715/0.002715, allocations: 190.9 kB / 22.1 MB, free: 4.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.926/2.926, allocations: 495.8 MB / 0.783 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 71.88 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005228/1.097, allocations: 4.984 MB / 1.312 GB, free: 30.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003509/1.101, allocations: 2.525 MB / 1.314 GB, free: 28.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/1.101, allocations: 35.88 kB / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/1.102, allocations: 418.7 kB / 1.315 GB, free: 28.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009054/1.103, allocations: 468 kB / 1.315 GB, free: 28.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/1.104, allocations: 375.6 kB / 1.315 GB, free: 27.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007583/1.105, allocations: 0.9231 MB / 1.316 GB, free: 27.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/1.105, allocations: 265.1 kB / 1.316 GB, free: 27.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/1.106, allocations: 353.3 kB / 1.317 GB, free: 27.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/1.106, allocations: 362.2 kB / 1.317 GB, free: 27.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/1.106, allocations: 39.38 kB / 1.317 GB, free: 27.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005673/1.107, allocations: 358.8 kB / 1.318 GB, free: 26.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/1.107, allocations: 191.5 kB / 1.318 GB, free: 26.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002455/1.107, allocations: 323.2 kB / 1.318 GB, free: 26.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000841/1.108, allocations: 0.882 MB / 1.319 GB, free: 26.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.108, allocations: 3.938 kB / 1.319 GB, free: 26.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.108, allocations: 6.625 kB / 1.319 GB, free: 26.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.108, allocations: 0 / 1.319 GB, free: 26.33 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.001244/1.109, allocations: 0.8663 MB / 1.32 GB, free: 25.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.109, allocations: 18.3 kB / 1.32 GB, free: 25.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/1.11, allocations: 204 kB / 1.32 GB, free: 25.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/1.111, allocations: 484.3 kB / 1.32 GB, free: 25.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/1.111, allocations: 33.11 kB / 1.32 GB, free: 25.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/1.111, allocations: 41.25 kB / 1.32 GB, free: 25.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.112, allocations: 0.8465 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/1.112, allocations: 6.406 kB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/1.112, allocations: 31.06 kB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.406e-05/1.112, allocations: 69.5 kB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008109/1.113, allocations: 0.5687 MB / 1.322 GB, free: 24.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/1.117, allocations: 5.567 MB / 1.327 GB, free: 19.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/1.117, allocations: 424 kB / 1.328 GB, free: 19.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/1.118, allocations: 196.1 kB / 1.328 GB, free: 19.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/1.118, allocations: 6.719 kB / 1.328 GB, free: 19.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/1.118, allocations: 37.16 kB / 1.328 GB, free: 19.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/1.118, allocations: 0 / 1.328 GB, free: 19.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002196/1.12, allocations: 1.142 MB / 1.329 GB, free: 18.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.12, allocations: 58.78 kB / 1.329 GB, free: 18.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/1.12, allocations: 495.6 kB / 1.33 GB, free: 18.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/1.12, allocations: 31.3 kB / 1.33 GB, free: 18.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/1.121, allocations: 363.1 kB / 1.33 GB, free: 18.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/1.121, allocations: 129.6 kB / 1.33 GB, free: 17.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.121, allocations: 107.7 kB / 1.33 GB, free: 17.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/1.121, allocations: 364.7 kB / 1.331 GB, free: 17.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/1.121, allocations: 202.4 kB / 1.331 GB, free: 17.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/1.122, allocations: 441.3 kB / 1.331 GB, free: 17.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/1.123, allocations: 0.694 MB / 1.332 GB, free: 16.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.123, allocations: 3.094 kB / 1.332 GB, free: 16.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001329/1.124, allocations: 0.8053 MB / 1.333 GB, free: 16.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.124, allocations: 13.75 kB / 1.333 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.124, allocations: 9.594 kB / 1.333 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/1.124, allocations: 160 kB / 1.333 GB, free: 16.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/1.125, allocations: 126.4 kB / 1.333 GB, free: 16.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/1.128, allocations: 4.035 MB / 1.337 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/1.128, allocations: 31.8 kB / 1.337 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/1.128, allocations: 35.22 kB / 1.337 GB, free: 12.22 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.0003213/1.129, allocations: 217.6 kB / 1.337 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.129, allocations: 65.55 kB / 1.337 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/1.13, allocations: 0.5989 MB / 1.338 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.13, allocations: 3.75 kB / 1.338 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.13, allocations: 1.625 kB / 1.338 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.13, allocations: 0.5312 kB / 1.338 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/1.132, allocations: 1.236 MB / 1.339 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.132, allocations: 1.625 kB / 1.339 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/1.133, allocations: 52.7 kB / 1.339 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/1.133, allocations: 146.6 kB / 1.339 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/1.133, allocations: 11.56 kB / 1.339 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/1.136, allocations: 4.023 MB / 1.343 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.136, allocations: 2.062 kB / 1.343 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/1.137, allocations: 0.7136 MB / 1.344 GB, free: 6.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/1.137, allocations: 95.31 kB / 1.344 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/1.137, allocations: 9.734 kB / 1.344 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/1.137, allocations: 21.64 kB / 1.344 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/1.137, allocations: 36.38 kB / 1.344 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/1.137, allocations: 12.88 kB / 1.344 GB, free: 6.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004005/1.138, allocations: 329.3 kB / 1.344 GB, free: 6.441 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.138, allocations: 4 kB / 1.344 GB, free: 6.438 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007673/1.139, allocations: 143.4 kB / 1.345 GB, free: 6.422 MB / 1.061 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.0001942/1.139, allocations: 110.5 kB / 1.345 GB, free: 6.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001654/1.141, allocations: 0.8552 MB / 1.345 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.141, allocations: 0 / 1.345 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007771/1.141, allocations: 0.574 MB / 1.346 GB, free: 5.383 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.142, allocations: 204.2 kB / 1.346 GB, free: 5.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/1.144, allocations: 1.061 MB / 1.347 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/1.145, allocations: 0.9014 MB / 1.348 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003831/1.145, allocations: 116.9 kB / 1.348 GB, free: 3.961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/1.145, allocations: 38.5 kB / 1.348 GB, free: 3.953 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/1.145, allocations: 1.156 kB / 1.348 GB, free: 3.953 MB / 1.061 GB Notification: Performance of Templates: time 0.02067/1.166, allocations: 8.042 MB / 1.356 GB, free: 3.406 MB / 1.061 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/jenkins/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: 9.937457141466439]