Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009112/0.0009112, allocations: 92.47 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001006, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.275/1.275, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 443.2 MB / 0.7181 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003529, allocations: 10.22 kB / 0.8801 GB, free: 42.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2651, allocations: 155.2 MB / 1.032 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004533/0.2697, allocations: 4.511 MB / 1.036 GB, free: 200 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003439/0.2731, allocations: 2.472 MB / 1.038 GB, free: 13.71 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.2734, allocations: 27.75 kB / 1.038 GB, free: 13.69 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.2736, allocations: 91.2 kB / 1.039 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008166/0.2744, allocations: 414 kB / 1.039 GB, free: 13.19 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.2752, allocations: 371 kB / 1.039 GB, free: 12.83 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009973/0.2762, allocations: 1.128 MB / 1.04 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006875/0.2769, allocations: 472.2 kB / 1.041 GB, free: 11.21 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.2773, allocations: 294.6 kB / 1.041 GB, free: 10.92 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.2777, allocations: 326.5 kB / 1.041 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.2777, allocations: 20 kB / 1.041 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006928/0.2784, allocations: 0.495 MB / 1.042 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.2786, allocations: 163.4 kB / 1.042 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.2788, allocations: 319.9 kB / 1.042 GB, free: 9.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.2795, allocations: 0.6626 MB / 1.043 GB, free: 8.941 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2795, allocations: 3.984 kB / 1.043 GB, free: 8.938 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2795, allocations: 0 / 1.043 GB, free: 8.938 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.2795, allocations: 0 / 1.043 GB, free: 8.938 MB / 0.795 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.001091/0.2806, allocations: 0.8373 MB / 1.044 GB, free: 8.047 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2806, allocations: 15.98 kB / 1.044 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.2819, allocations: 199.9 kB / 1.044 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006336/0.2825, allocations: 0.4944 MB / 1.045 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.2825, allocations: 33.38 kB / 1.045 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.2826, allocations: 44.36 kB / 1.045 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.2836, allocations: 0.8448 MB / 1.045 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.2837, allocations: 11.84 kB / 1.045 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.2837, allocations: 23.98 kB / 1.046 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.452e-05/0.2838, allocations: 68.95 kB / 1.046 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.2846, allocations: 0.5616 MB / 1.046 GB, free: 5.586 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/0.2884, allocations: 5.655 MB / 1.052 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.289, allocations: 467.2 kB / 1.052 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.2893, allocations: 228.7 kB / 1.052 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2893, allocations: 4.531 kB / 1.052 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.2894, allocations: 34.56 kB / 1.052 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 2.294e-06/0.2894, allocations: 0 / 1.052 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.00239/0.2918, allocations: 1.528 MB / 1.054 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.2918, allocations: 55.69 kB / 1.054 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.2923, allocations: 0.5029 MB / 1.054 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2923, allocations: 29.7 kB / 1.054 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.2926, allocations: 354.8 kB / 1.055 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.2927, allocations: 118.3 kB / 1.055 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.2927, allocations: 49.69 kB / 1.055 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2929, allocations: 370.8 kB / 1.055 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.2932, allocations: 197.2 kB / 1.055 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004085/0.2936, allocations: 447.3 kB / 1.056 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000772/0.2944, allocations: 0.6835 MB / 1.057 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2944, allocations: 0 / 1.057 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001208/0.2956, allocations: 0.8168 MB / 1.057 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2956, allocations: 11.98 kB / 1.057 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.2956, allocations: 12.88 kB / 1.057 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004756/0.2961, allocations: 160.1 kB / 1.058 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.2966, allocations: 115.8 kB / 1.058 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.2994, allocations: 4.036 MB / 1.062 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/0.2999, allocations: 35.97 kB / 1.062 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.2999, allocations: 24 kB / 1.062 GB, free: 4.449 MB / 0.8106 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.0002505/0.3002, allocations: 219.2 kB / 1.062 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.3002, allocations: 59.25 kB / 1.062 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3013, allocations: 0.597 MB / 1.062 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3013, allocations: 4 kB / 1.062 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3013, allocations: 7.938 kB / 1.062 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3013, allocations: 3.938 kB / 1.062 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.303, allocations: 1.265 MB / 1.064 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.303, allocations: 8.031 kB / 1.064 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.3032, allocations: 55.89 kB / 1.064 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003774/0.3036, allocations: 140.1 kB / 1.064 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3037, allocations: 11.98 kB / 1.064 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.3064, allocations: 4.021 MB / 1.068 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3065, allocations: 8.031 kB / 1.068 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3075, allocations: 0.7116 MB / 1.069 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.3077, allocations: 168.3 kB / 1.069 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.3078, allocations: 15.92 kB / 1.069 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.308, allocations: 19.97 kB / 1.069 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.3081, allocations: 31.91 kB / 1.069 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3081, allocations: 8 kB / 1.069 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003378/0.3085, allocations: 338.8 kB / 1.069 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3085, allocations: 4 kB / 1.069 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006182/0.3091, allocations: 144 kB / 1.069 GB, free: 12.03 MB / 0.8262 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.0001453/0.3093, allocations: 115 kB / 1.069 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.3106, allocations: 1.033 MB / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3106, allocations: 0 / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.3114, allocations: 0.7346 MB / 1.071 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3125, allocations: 198.1 kB / 1.071 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3141, allocations: 1.333 MB / 1.073 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3146, allocations: 0.9098 MB / 1.073 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.3147, allocations: 43.44 kB / 1.074 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of SimCode: time 7.21e-07/0.3147, allocations: 0 / 1.074 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of Templates: time 0.01988/0.3346, allocations: 18.23 MB / 1.091 GB, free: 5.219 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches