Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001619/0.001619, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001758/0.001758, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437.1 MB / 0.7111 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 64.73 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3441, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007852/0.352, allocations: 4.897 MB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004702/0.3567, allocations: 2.498 MB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.3572, allocations: 23.81 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.3586, allocations: 402.4 kB / 1.026 GB, free: 2.793 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.3598, allocations: 445.6 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3608, allocations: 405.5 kB / 1.026 GB, free: 1.961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3622, allocations: 0.9251 MB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007384/0.3629, allocations: 354.5 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005993/0.3635, allocations: 334.7 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.3641, allocations: 354.4 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.3643, allocations: 40.05 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008062/0.3651, allocations: 399.1 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.3653, allocations: 179.4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004381/0.3658, allocations: 326.2 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.367, allocations: 0.8684 MB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.367, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.367, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.367, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 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.001672/0.3687, allocations: 0.9463 MB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3688, allocations: 16.88 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.3701, allocations: 207.8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/0.3709, allocations: 0.4944 MB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.3709, allocations: 33.36 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.3711, allocations: 40.38 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.3722, allocations: 0.8448 MB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.3723, allocations: 7.938 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/0.3723, allocations: 23.98 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.3724, allocations: 64.95 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009275/0.3734, allocations: 0.5733 MB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/0.379, allocations: 5.65 MB / 1.039 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007508/0.3798, allocations: 470.6 kB / 1.039 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.3801, allocations: 225.3 kB / 1.039 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3802, allocations: 7.984 kB / 1.039 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.3802, allocations: 34.56 kB / 1.039 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 2.355e-06/0.3802, allocations: 0 / 1.039 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002936/0.3832, allocations: 1.508 MB / 1.041 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3832, allocations: 55.69 kB / 1.041 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.3839, allocations: 0.4991 MB / 1.041 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3839, allocations: 29.7 kB / 1.042 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.3842, allocations: 358.8 kB / 1.042 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3843, allocations: 122.3 kB / 1.042 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.3845, allocations: 110.2 kB / 1.042 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3847, allocations: 370.8 kB / 1.042 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.385, allocations: 197.2 kB / 1.043 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.3855, allocations: 443.3 kB / 1.043 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3867, allocations: 0.692 MB / 1.044 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.3867, allocations: 4 kB / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001556/0.3882, allocations: 0.8049 MB / 1.044 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.3883, allocations: 8 kB / 1.045 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.3883, allocations: 12.84 kB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.3888, allocations: 160 kB / 1.045 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.3893, allocations: 123.8 kB / 1.045 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/0.3933, allocations: 4.344 MB / 1.049 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.3938, allocations: 31.97 kB / 1.049 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.3939, allocations: 28 kB / 1.049 GB, free: 9.223 MB / 0.8262 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.0003143/0.3942, allocations: 220.6 kB / 1.049 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3943, allocations: 67.31 kB / 1.049 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.3954, allocations: 0.5933 MB / 1.05 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3954, allocations: 7.938 kB / 1.05 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3955, allocations: 0 / 1.05 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3955, allocations: 4 kB / 1.05 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.3974, allocations: 1.27 MB / 1.051 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.3974, allocations: 0 / 1.051 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.3977, allocations: 55.95 kB / 1.051 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.3981, allocations: 144.3 kB / 1.051 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.3982, allocations: 11.94 kB / 1.051 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.4021, allocations: 4.329 MB / 1.056 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.4021, allocations: 3.938 kB / 1.056 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.4033, allocations: 0.7037 MB / 1.056 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.4036, allocations: 172.2 kB / 1.056 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/0.4037, allocations: 15.92 kB / 1.056 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.404, allocations: 19.98 kB / 1.057 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.4041, allocations: 35.89 kB / 1.057 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.4041, allocations: 12 kB / 1.057 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004225/0.4045, allocations: 338.8 kB / 1.057 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4045, allocations: 0 / 1.057 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006683/0.4052, allocations: 140 kB / 1.057 GB, free: 488 kB / 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.0001631/0.4054, allocations: 122.2 kB / 1.057 GB, free: 360 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.4072, allocations: 1.076 MB / 1.058 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.4072, allocations: 4 kB / 1.058 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009943/0.4082, allocations: 0.7388 MB / 1.059 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.4094, allocations: 209 kB / 1.059 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.4114, allocations: 1.098 MB / 1.06 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.4121, allocations: 0.9098 MB / 1.061 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.4122, allocations: 43.44 kB / 1.061 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of SimCode: time 6.51e-07/0.4123, allocations: 0 / 1.061 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.4891/0.9014, allocations: 18.31 MB / 1.079 GB, free: 60.71 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches