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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001508, allocations: 107.7 kB / 15.99 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 192.6 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.541/2.541, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 68.33 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3088, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006815/0.3157, allocations: 4.914 MB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004/0.3197, allocations: 2.483 MB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.3201, allocations: 23.81 kB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3212, allocations: 358.4 kB / 1.072 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008918/0.3221, allocations: 418 kB / 1.072 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/0.3229, allocations: 355.4 kB / 1.072 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000982/0.3239, allocations: 0.9289 MB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.3246, allocations: 394.5 kB / 1.074 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.325, allocations: 342.6 kB / 1.074 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.3254, allocations: 362.4 kB / 1.074 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.3255, allocations: 44 kB / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.3261, allocations: 399.1 kB / 1.075 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.3263, allocations: 183.5 kB / 1.075 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.3266, allocations: 326.2 kB / 1.075 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007363/0.3274, allocations: 0.6745 MB / 1.076 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3274, allocations: 0 / 1.076 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3274, allocations: 0 / 1.076 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3274, allocations: 0 / 1.076 GB, free: 2.91 MB / 0.8419 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.001368/0.3288, allocations: 0.9424 MB / 1.077 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3288, allocations: 12.03 kB / 1.077 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.33, allocations: 207.7 kB / 1.077 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.3307, allocations: 0.4944 MB / 1.078 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.3307, allocations: 33.36 kB / 1.078 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.3308, allocations: 48.36 kB / 1.078 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.3319, allocations: 0.8448 MB / 1.079 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.332, allocations: 11.92 kB / 1.079 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.332, allocations: 20 kB / 1.079 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-05/0.3321, allocations: 68.95 kB / 1.079 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4303/0.7625, allocations: 0.5584 MB / 1.079 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.7658, allocations: 5.66 MB / 1.085 GB, free: 17.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.7663, allocations: 462 kB / 1.085 GB, free: 17.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.7666, allocations: 224 kB / 1.085 GB, free: 16.97 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.7667, allocations: 5.75 kB / 1.085 GB, free: 16.97 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.7667, allocations: 39.8 kB / 1.085 GB, free: 16.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.555e-06/0.7667, allocations: 0.6094 kB / 1.085 GB, free: 16.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002173/0.7689, allocations: 1.512 MB / 1.087 GB, free: 16.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.7689, allocations: 55.34 kB / 1.087 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.7694, allocations: 0.4999 MB / 1.087 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.7694, allocations: 31.77 kB / 1.087 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.7696, allocations: 360.6 kB / 1.088 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.7696, allocations: 119.2 kB / 1.088 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.7698, allocations: 111.8 kB / 1.088 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.7699, allocations: 369.7 kB / 1.088 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.7701, allocations: 192 kB / 1.089 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.7705, allocations: 447.9 kB / 1.089 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.7711, allocations: 0.683 MB / 1.09 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.7711, allocations: 6.562 kB / 1.09 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001137/0.7722, allocations: 0.8122 MB / 1.09 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7723, allocations: 11.83 kB / 1.09 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7723, allocations: 9.719 kB / 1.09 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.7727, allocations: 159.9 kB / 1.091 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.7732, allocations: 121.6 kB / 1.091 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.7754, allocations: 4.351 MB / 1.095 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.7758, allocations: 33.53 kB / 1.095 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.7758, allocations: 26.88 kB / 1.095 GB, free: 9.191 MB / 0.8419 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.0002302/0.7761, allocations: 224.7 kB / 1.095 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.7761, allocations: 65.62 kB / 1.095 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/0.7772, allocations: 0.5915 MB / 1.096 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.7772, allocations: 3.969 kB / 1.096 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.7772, allocations: 1.625 kB / 1.096 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.7772, allocations: 2.062 kB / 1.096 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.7788, allocations: 1.265 MB / 1.097 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.7788, allocations: 6.188 kB / 1.097 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.7791, allocations: 51.48 kB / 1.097 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003687/0.7795, allocations: 146.5 kB / 1.097 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.7795, allocations: 7.656 kB / 1.097 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.7817, allocations: 4.337 MB / 1.102 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7817, allocations: 6.219 kB / 1.102 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/0.7827, allocations: 0.7035 MB / 1.102 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.7829, allocations: 170 kB / 1.102 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.7829, allocations: 12.77 kB / 1.102 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.7832, allocations: 22.94 kB / 1.102 GB, free: 3.082 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.7833, allocations: 32.86 kB / 1.102 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.7833, allocations: 7.844 kB / 1.102 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003846/0.7837, allocations: 343.3 kB / 1.103 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7837, allocations: 0 / 1.103 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006604/0.7844, allocations: 142.7 kB / 1.103 GB, free: 2.902 MB / 0.8419 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.0001209/0.7845, allocations: 113.6 kB / 1.103 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.7858, allocations: 1.078 MB / 1.104 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7858, allocations: 3.75 kB / 1.104 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006779/0.7865, allocations: 0.7423 MB / 1.105 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009144/0.7874, allocations: 207.3 kB / 1.105 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.789, allocations: 1.323 MB / 1.106 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.7895, allocations: 0.9127 MB / 1.107 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.7896, allocations: 44.72 kB / 1.107 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.7896, allocations: 0 / 1.107 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of Templates: time 0.02497/0.8146, allocations: 18.32 MB / 1.125 GB, free: 12.52 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (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) 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) Reference file matches