Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001427/0.001427, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001534/0.001534, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.466/1.466, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.775/2.775, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002402/0.002402, allocations: 59.91 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4305, allocations: 169.9 MB / 1.117 GB, free: 2.527 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008272/0.4387, allocations: 4.619 MB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.444, allocations: 2.412 MB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006961/0.4447, allocations: 35.62 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.4463, allocations: 397.7 kB / 1.125 GB, free: 11.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.448, allocations: 477.6 kB / 1.125 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.4493, allocations: 371.2 kB / 1.126 GB, free: 10.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.4509, allocations: 0.9178 MB / 1.126 GB, free: 9.285 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007692/0.4517, allocations: 318.5 kB / 1.127 GB, free: 8.973 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009419/0.4526, allocations: 366.6 kB / 1.127 GB, free: 8.613 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008031/0.4534, allocations: 334.5 kB / 1.127 GB, free: 8.285 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.4535, allocations: 36 kB / 1.127 GB, free: 8.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009336/0.4545, allocations: 367.1 kB / 1.128 GB, free: 7.891 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.4548, allocations: 183.3 kB / 1.128 GB, free: 7.711 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004752/0.4553, allocations: 258.7 kB / 1.128 GB, free: 7.457 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.4571, allocations: 0.8948 MB / 1.129 GB, free: 6.559 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4571, allocations: 4 kB / 1.129 GB, free: 6.555 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4571, allocations: 0 / 1.129 GB, free: 6.555 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.4571, allocations: 0 / 1.129 GB, free: 6.555 MB / 1.076 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.001742/0.4588, allocations: 0.8818 MB / 1.13 GB, free: 5.641 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4589, allocations: 15.97 kB / 1.13 GB, free: 5.625 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.4602, allocations: 208.3 kB / 1.13 GB, free: 5.422 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.4611, allocations: 476.8 kB / 1.131 GB, free: 4.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.4612, allocations: 33.36 kB / 1.131 GB, free: 4.895 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.4613, allocations: 52.31 kB / 1.131 GB, free: 4.844 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.4625, allocations: 0.9664 MB / 1.132 GB, free: 3.715 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.4626, allocations: 7.938 kB / 1.132 GB, free: 3.707 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.4626, allocations: 23.98 kB / 1.132 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.4627, allocations: 72.95 kB / 1.132 GB, free: 3.613 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009056/0.4636, allocations: 0.5616 MB / 1.132 GB, free: 3.051 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8781/1.342, allocations: 4.63 MB / 1.137 GB, free: 54.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/1.342, allocations: 423.4 kB / 1.137 GB, free: 54.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/1.343, allocations: 205.5 kB / 1.137 GB, free: 54.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/1.343, allocations: 2.781 kB / 1.137 GB, free: 54.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/1.343, allocations: 35.72 kB / 1.137 GB, free: 54.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/1.343, allocations: 0 / 1.137 GB, free: 54.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002469/1.345, allocations: 1.13 MB / 1.139 GB, free: 54.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.345, allocations: 59.97 kB / 1.139 GB, free: 54.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/1.346, allocations: 473.7 kB / 1.139 GB, free: 54.33 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/1.346, allocations: 29.2 kB / 1.139 GB, free: 54.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/1.346, allocations: 369.2 kB / 1.139 GB, free: 54.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.346, allocations: 130.1 kB / 1.14 GB, free: 54.06 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.346, allocations: 112.4 kB / 1.14 GB, free: 54.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.346, allocations: 362.6 kB / 1.14 GB, free: 53.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/1.347, allocations: 195.9 kB / 1.14 GB, free: 53.72 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/1.347, allocations: 442.3 kB / 1.141 GB, free: 53.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/1.348, allocations: 0.6873 MB / 1.141 GB, free: 52.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.348, allocations: 5.938 kB / 1.141 GB, free: 52.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001153/1.349, allocations: 0.8116 MB / 1.142 GB, free: 52.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.349, allocations: 8.406 kB / 1.142 GB, free: 52.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.349, allocations: 12.31 kB / 1.142 GB, free: 52.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004814/1.349, allocations: 159.3 kB / 1.142 GB, free: 52.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/1.35, allocations: 122.1 kB / 1.142 GB, free: 52.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/1.352, allocations: 3.969 MB / 1.146 GB, free: 48.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/1.353, allocations: 34.33 kB / 1.146 GB, free: 48.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/1.353, allocations: 28 kB / 1.146 GB, free: 48.7 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.0002604/1.353, allocations: 213.9 kB / 1.147 GB, free: 48.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/1.353, allocations: 65.31 kB / 1.147 GB, free: 48.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008786/1.354, allocations: 0.5873 MB / 1.147 GB, free: 48.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.354, allocations: 2.844 kB / 1.147 GB, free: 48.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.354, allocations: 6.438 kB / 1.147 GB, free: 48.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.354, allocations: 3.609 kB / 1.147 GB, free: 48.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/1.355, allocations: 1.111 MB / 1.148 GB, free: 47.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.355, allocations: 0 / 1.148 GB, free: 47.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/1.356, allocations: 57.52 kB / 1.148 GB, free: 47.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/1.356, allocations: 142.2 kB / 1.148 GB, free: 47.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.356, allocations: 10.88 kB / 1.148 GB, free: 47.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.358, allocations: 3.954 MB / 1.152 GB, free: 43.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.358, allocations: 8.406 kB / 1.152 GB, free: 43.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/1.359, allocations: 0.7078 MB / 1.153 GB, free: 43.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/1.359, allocations: 85.62 kB / 1.153 GB, free: 43.32 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/1.359, allocations: 11.22 kB / 1.153 GB, free: 43.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/1.359, allocations: 24.59 kB / 1.153 GB, free: 43.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/1.359, allocations: 34.23 kB / 1.153 GB, free: 43.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/1.36, allocations: 12.09 kB / 1.153 GB, free: 43.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002617/1.36, allocations: 304.9 kB / 1.153 GB, free: 43.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.36, allocations: 0.9844 kB / 1.153 GB, free: 43.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006142/1.36, allocations: 140.2 kB / 1.154 GB, free: 43.15 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.0001231/1.361, allocations: 118.4 kB / 1.154 GB, free: 43.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.362, allocations: 0.849 MB / 1.155 GB, free: 42.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.362, allocations: 0 / 1.155 GB, free: 42.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/1.362, allocations: 0.5729 MB / 1.155 GB, free: 42.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/1.363, allocations: 202.8 kB / 1.155 GB, free: 42.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.365, allocations: 1.048 MB / 1.156 GB, free: 41.49 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/1.365, allocations: 310.4 kB / 1.157 GB, free: 41.38 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002689/1.365, allocations: 112.9 kB / 1.157 GB, free: 41.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/1.365, allocations: 39.25 kB / 1.157 GB, free: 41.36 MB / 1.076 GB Notification: Performance of SimCode: time 6.41e-07/1.365, allocations: 0 / 1.157 GB, free: 41.36 MB / 1.076 GB Notification: Performance of Templates: time 0.0133/1.378, allocations: 7.821 MB / 1.164 GB, free: 40.52 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.83004777901806]