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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001465/0.001465, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001493/0.001494, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 75.81 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007697/1.036, allocations: 4.9 MB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004851/1.041, allocations: 2.491 MB / 1.216 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007463/1.042, allocations: 27.75 kB / 1.216 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/1.043, allocations: 398 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/1.044, allocations: 449.6 kB / 1.216 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/1.046, allocations: 388.8 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001431/1.047, allocations: 0.929 MB / 1.218 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000707/1.048, allocations: 358.4 kB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/1.048, allocations: 342.6 kB / 1.218 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/1.049, allocations: 350.4 kB / 1.219 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/1.049, allocations: 40 kB / 1.219 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009572/1.05, allocations: 403.1 kB / 1.219 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/1.05, allocations: 179.5 kB / 1.219 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004652/1.051, allocations: 326.2 kB / 1.22 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/1.052, allocations: 0.8932 MB / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/1.052, allocations: 0 / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.152e-06/1.052, allocations: 0 / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.965e-05/1.052, allocations: 0 / 1.221 GB, free: 1.191 MB / 0.9356 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.001818/1.054, allocations: 0.9463 MB / 1.221 GB, free: 196 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.054, allocations: 12.03 kB / 1.221 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/1.056, allocations: 200 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009601/1.057, allocations: 0.5528 MB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/1.057, allocations: 33.36 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/1.057, allocations: 44.36 kB / 1.222 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.058, allocations: 0.8487 MB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.058, allocations: 7.938 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/1.058, allocations: 23.98 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.058, allocations: 64.95 kB / 1.223 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/1.059, allocations: 0.5734 MB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004806/1.064, allocations: 5.647 MB / 1.229 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/1.065, allocations: 450.3 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/1.065, allocations: 232.7 kB / 1.23 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/1.065, allocations: 4.531 kB / 1.23 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.065, allocations: 38.5 kB / 1.23 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 1.883e-06/1.065, allocations: 0 / 1.23 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002627/1.068, allocations: 1.505 MB / 1.231 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.068, allocations: 59.62 kB / 1.231 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005603/1.068, allocations: 0.5029 MB / 1.232 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/1.068, allocations: 29.7 kB / 1.232 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/1.069, allocations: 358.8 kB / 1.232 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.069, allocations: 122.3 kB / 1.232 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.069, allocations: 114.2 kB / 1.233 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.069, allocations: 362.8 kB / 1.233 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/1.069, allocations: 197.2 kB / 1.233 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/1.07, allocations: 447.3 kB / 1.234 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/1.071, allocations: 0.6915 MB / 1.234 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.071, allocations: 4 kB / 1.234 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001284/1.072, allocations: 0.8015 MB / 1.235 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.072, allocations: 15.94 kB / 1.235 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.072, allocations: 11.98 kB / 1.235 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/1.073, allocations: 152.5 kB / 1.235 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/1.073, allocations: 127.7 kB / 1.235 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/1.076, allocations: 4.34 MB / 1.24 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/1.077, allocations: 31.97 kB / 1.24 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/1.077, allocations: 32 kB / 1.24 GB, free: 12.17 MB / 0.9669 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/1.077, allocations: 217.5 kB / 1.24 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/1.077, allocations: 63.25 kB / 1.24 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.078, allocations: 0.5972 MB / 1.24 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.078, allocations: 4 kB / 1.24 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.078, allocations: 8 kB / 1.24 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.078, allocations: 3.984 kB / 1.24 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/1.08, allocations: 1.257 MB / 1.242 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.08, allocations: 0 / 1.242 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/1.081, allocations: 63.88 kB / 1.242 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/1.081, allocations: 140.3 kB / 1.242 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/1.081, allocations: 23.94 kB / 1.242 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/1.084, allocations: 4.328 MB / 1.246 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.084, allocations: 0 / 1.246 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/1.085, allocations: 0.7154 MB / 1.247 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/1.085, allocations: 164.3 kB / 1.247 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/1.086, allocations: 8 kB / 1.247 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/1.086, allocations: 27.97 kB / 1.247 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/1.086, allocations: 31.84 kB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/1.086, allocations: 19.98 kB / 1.247 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003766/1.086, allocations: 338.8 kB / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.086, allocations: 4 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006677/1.087, allocations: 140 kB / 1.248 GB, free: 3.41 MB / 0.9669 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.0001613/1.087, allocations: 113.1 kB / 1.248 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001441/1.089, allocations: 1.033 MB / 1.249 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.089, allocations: 0 / 1.249 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008378/1.09, allocations: 0.7385 MB / 1.249 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/1.091, allocations: 209.6 kB / 1.25 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/1.092, allocations: 1.096 MB / 1.251 GB, free: 4 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/1.093, allocations: 0.906 MB / 1.252 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/1.093, allocations: 47.44 kB / 1.252 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of SimCode: time 6.02e-07/1.093, allocations: 0 / 1.252 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.02177/1.115, allocations: 18.36 MB / 1.269 GB, free: 12.69 MB / 0.9981 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