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.001667/0.001667, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002068/0.002068, allocations: 216.6 kB / 22.25 MB, free: 5.242 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.874/2.874, allocations: 475.9 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 177] 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.002168/0.002168, allocations: 65.06 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 169.9 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008612/0.3225, allocations: 4.67 MB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005381/0.3279, allocations: 2.444 MB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.3285, allocations: 39.56 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.33, allocations: 394.8 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.3315, allocations: 469.6 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3325, allocations: 403.6 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.3337, allocations: 0.9333 MB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.3342, allocations: 318.3 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.3348, allocations: 362.6 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.3353, allocations: 350.4 kB / 1.293 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.197e-05/0.3354, allocations: 40 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007204/0.3361, allocations: 355.2 kB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.3363, allocations: 191.3 kB / 1.294 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.3366, allocations: 258.7 kB / 1.294 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3377, allocations: 0.9026 MB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3377, allocations: 0 / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3377, allocations: 0 / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.3377, allocations: 4 kB / 1.295 GB, free: 15.89 MB / 0.9981 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.001511/0.3392, allocations: 0.8895 MB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3393, allocations: 12.03 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.3405, allocations: 212.2 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/0.3414, allocations: 492.8 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.3415, allocations: 33.36 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.532e-05/0.3416, allocations: 44.36 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3428, allocations: 0.9703 MB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.3429, allocations: 7.938 kB / 1.297 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.3429, allocations: 20 kB / 1.297 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.343, allocations: 68.95 kB / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008994/0.3439, allocations: 0.5656 MB / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005037/0.349, allocations: 4.65 MB / 1.303 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007554/0.3497, allocations: 430.2 kB / 1.303 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.35, allocations: 200.7 kB / 1.303 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.3501, allocations: 4 kB / 1.303 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.3501, allocations: 31.09 kB / 1.303 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.375e-06/0.3501, allocations: 0 / 1.303 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002637/0.3528, allocations: 1.13 MB / 1.304 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3528, allocations: 59.62 kB / 1.304 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.3533, allocations: 486.6 kB / 1.305 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3534, allocations: 29.7 kB / 1.305 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.3536, allocations: 376.2 kB / 1.305 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3538, allocations: 119 kB / 1.305 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.3539, allocations: 110.2 kB / 1.305 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3541, allocations: 362.8 kB / 1.306 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.3544, allocations: 197.2 kB / 1.306 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.3549, allocations: 443.3 kB / 1.306 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/0.3558, allocations: 0.688 MB / 1.307 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3558, allocations: 4 kB / 1.307 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001364/0.3572, allocations: 0.8139 MB / 1.308 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3572, allocations: 8 kB / 1.308 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3572, allocations: 8 kB / 1.308 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.3577, allocations: 156.1 kB / 1.308 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.3582, allocations: 115.8 kB / 1.308 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.3618, allocations: 3.969 MB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.3622, allocations: 39.91 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.3623, allocations: 28 kB / 1.312 GB, free: 13.13 MB / 1.014 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.0003015/0.3626, allocations: 210.3 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.3627, allocations: 71.69 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3638, allocations: 0.5848 MB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3638, allocations: 7.938 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3638, allocations: 4 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3638, allocations: 3.984 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.3657, allocations: 1.117 MB / 1.314 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3657, allocations: 0 / 1.314 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3659, allocations: 52.17 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.3664, allocations: 152.1 kB / 1.314 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.3664, allocations: 8 kB / 1.314 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/0.37, allocations: 3.953 MB / 1.318 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.37, allocations: 12.03 kB / 1.318 GB, free: 6.535 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.3711, allocations: 0.7046 MB / 1.319 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.3714, allocations: 87.58 kB / 1.319 GB, free: 5.691 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.3714, allocations: 11.94 kB / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.3717, allocations: 19.97 kB / 1.319 GB, free: 5.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.3718, allocations: 39.86 kB / 1.319 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.3718, allocations: 12 kB / 1.319 GB, free: 5.609 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003706/0.3722, allocations: 310.9 kB / 1.319 GB, free: 5.309 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3722, allocations: 0 / 1.319 GB, free: 5.309 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006532/0.3728, allocations: 140 kB / 1.319 GB, free: 5.172 MB / 1.014 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.0001449/0.373, allocations: 112.3 kB / 1.319 GB, free: 5.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.3744, allocations: 0.8657 MB / 1.32 GB, free: 4.148 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.3744, allocations: 1.25 kB / 1.32 GB, free: 4.148 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.3752, allocations: 0.5877 MB / 1.321 GB, free: 3.516 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.3762, allocations: 181.2 kB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.3779, allocations: 1.058 MB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3782, allocations: 311.9 kB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.3785, allocations: 125 kB / 1.323 GB, free: 1.773 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.3786, allocations: 39.38 kB / 1.323 GB, free: 1.734 MB / 1.014 GB Notification: Performance of SimCode: time 6.32e-07/0.3786, allocations: 0 / 1.323 GB, free: 1.734 MB / 1.014 GB Notification: Performance of Templates: time 0.01635/0.395, allocations: 8.532 MB / 1.331 GB, free: 9.422 MB / 1.029 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 -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/jenkins/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: 8.993617305532098]