Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001955/0.001955, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001702/0.001702, allocations: 159.6 kB / 23.01 MB, free: 4.594 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 9 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.864/2.864, allocations: 359.1 MB / 0.6044 GB, free: 14.93 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.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_11_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_11_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.002297/0.002297, allocations: 67.89 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3944, allocations: 169.9 MB / 1.117 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008015/0.4025, allocations: 4.676 MB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004817/0.4073, allocations: 2.428 MB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.4077, allocations: 39.56 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.409, allocations: 406 kB / 1.125 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.4102, allocations: 473.6 kB / 1.125 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009931/0.4112, allocations: 396.9 kB / 1.126 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.4124, allocations: 0.9294 MB / 1.127 GB, free: 9.262 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.413, allocations: 322.4 kB / 1.127 GB, free: 8.945 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.4135, allocations: 358.6 kB / 1.127 GB, free: 8.594 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.4141, allocations: 350.4 kB / 1.128 GB, free: 8.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.082e-05/0.4142, allocations: 40 kB / 1.128 GB, free: 8.211 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006583/0.4148, allocations: 359.1 kB / 1.128 GB, free: 7.859 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.415, allocations: 183.3 kB / 1.128 GB, free: 7.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.4153, allocations: 262.7 kB / 1.128 GB, free: 7.422 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.4164, allocations: 0.8987 MB / 1.129 GB, free: 6.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.4165, allocations: 3.984 kB / 1.129 GB, free: 6.516 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4165, allocations: 4 kB / 1.129 GB, free: 6.512 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.4165, allocations: 0 / 1.129 GB, free: 6.512 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.00158/0.418, allocations: 0.8896 MB / 1.13 GB, free: 5.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4181, allocations: 8.031 kB / 1.13 GB, free: 5.582 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.4194, allocations: 208.3 kB / 1.13 GB, free: 5.379 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009196/0.4203, allocations: 496.7 kB / 1.131 GB, free: 4.867 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.4204, allocations: 33.36 kB / 1.131 GB, free: 4.832 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.4204, allocations: 44.38 kB / 1.131 GB, free: 4.789 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.4218, allocations: 0.9664 MB / 1.132 GB, free: 3.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.4218, allocations: 11.89 kB / 1.132 GB, free: 3.648 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.4218, allocations: 27.98 kB / 1.132 GB, free: 3.621 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-05/0.4219, allocations: 68.95 kB / 1.132 GB, free: 3.555 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/0.4228, allocations: 0.5616 MB / 1.132 GB, free: 2.992 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8333/1.256, allocations: 4.645 MB / 1.137 GB, free: 54.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006252/1.257, allocations: 416.5 kB / 1.137 GB, free: 54.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/1.257, allocations: 203.1 kB / 1.138 GB, free: 54.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/1.257, allocations: 2.75 kB / 1.138 GB, free: 54.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/1.257, allocations: 36.22 kB / 1.138 GB, free: 54.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 2.675e-06/1.257, allocations: 0 / 1.138 GB, free: 54.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002228/1.259, allocations: 1.142 MB / 1.139 GB, free: 54.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/1.259, allocations: 54.62 kB / 1.139 GB, free: 54.44 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/1.26, allocations: 486.8 kB / 1.139 GB, free: 54.31 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/1.26, allocations: 33.23 kB / 1.139 GB, free: 54.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/1.26, allocations: 362.2 kB / 1.14 GB, free: 54.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/1.26, allocations: 120.1 kB / 1.14 GB, free: 54.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/1.26, allocations: 115.8 kB / 1.14 GB, free: 54.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/1.26, allocations: 365 kB / 1.14 GB, free: 53.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/1.26, allocations: 194.7 kB / 1.14 GB, free: 53.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/1.261, allocations: 445.3 kB / 1.141 GB, free: 53.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/1.261, allocations: 0.6902 MB / 1.141 GB, free: 52.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.261, allocations: 6.312 kB / 1.141 GB, free: 52.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00107/1.263, allocations: 0.8107 MB / 1.142 GB, free: 52.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.263, allocations: 8.875 kB / 1.142 GB, free: 52.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.263, allocations: 8.75 kB / 1.142 GB, free: 52.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/1.263, allocations: 153.2 kB / 1.142 GB, free: 52.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/1.264, allocations: 128.9 kB / 1.143 GB, free: 52.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/1.266, allocations: 3.971 MB / 1.146 GB, free: 48.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/1.266, allocations: 32.09 kB / 1.146 GB, free: 48.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/1.266, allocations: 30.81 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.0002354/1.267, allocations: 208.2 kB / 1.147 GB, free: 48.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/1.267, allocations: 66.34 kB / 1.147 GB, free: 48.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008464/1.268, allocations: 0.593 MB / 1.147 GB, free: 48.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.268, allocations: 2.984 kB / 1.147 GB, free: 48.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.268, allocations: 5.625 kB / 1.147 GB, free: 48.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.268, allocations: 3.188 kB / 1.147 GB, free: 48.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/1.269, allocations: 1.119 MB / 1.148 GB, free: 47.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.269, allocations: 0 / 1.148 GB, free: 47.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/1.269, allocations: 61.55 kB / 1.148 GB, free: 47.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/1.27, allocations: 144.4 kB / 1.149 GB, free: 47.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/1.27, allocations: 9.688 kB / 1.149 GB, free: 47.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/1.272, allocations: 3.955 MB / 1.152 GB, free: 43.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.272, allocations: 2.812 kB / 1.153 GB, free: 43.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/1.272, allocations: 0.7097 MB / 1.153 GB, free: 43.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/1.273, allocations: 86.89 kB / 1.153 GB, free: 43.33 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/1.273, allocations: 8.438 kB / 1.153 GB, free: 43.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/1.273, allocations: 21.98 kB / 1.153 GB, free: 43.32 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/1.273, allocations: 36.81 kB / 1.153 GB, free: 43.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/1.273, allocations: 15.84 kB / 1.153 GB, free: 43.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000243/1.273, allocations: 307.7 kB / 1.154 GB, free: 43.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.273, allocations: 0 / 1.154 GB, free: 43.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006048/1.274, allocations: 142 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.0001237/1.274, allocations: 118.5 kB / 1.154 GB, free: 43.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001198/1.275, allocations: 0.8562 MB / 1.155 GB, free: 42.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.275, allocations: 0 / 1.155 GB, free: 42.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/1.276, allocations: 0.5759 MB / 1.155 GB, free: 42.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.277, allocations: 197 kB / 1.155 GB, free: 42.06 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/1.279, allocations: 1.063 MB / 1.157 GB, free: 41.47 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/1.279, allocations: 311.2 kB / 1.157 GB, free: 41.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003123/1.279, allocations: 115.3 kB / 1.157 GB, free: 41.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/1.279, allocations: 39.47 kB / 1.157 GB, free: 41.34 MB / 1.076 GB Notification: Performance of SimCode: time 1.132e-06/1.279, allocations: 3.938 kB / 1.157 GB, free: 41.33 MB / 1.076 GB Notification: Performance of Templates: time 0.01372/1.293, allocations: 7.849 MB / 1.165 GB, free: 40.48 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.172388667007908]