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.0009546/0.0009544, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.0078/0.0078, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.705/2.705, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004053, allocations: 12 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/0.7197, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005866/0.7256, allocations: 4.523 MB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004713/0.7303, allocations: 2.468 MB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007797/0.7312, allocations: 19.81 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.7317, allocations: 91.16 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.7332, allocations: 414 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.7343, allocations: 356.5 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.736, allocations: 1.139 MB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009063/0.7369, allocations: 460.3 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005961/0.7375, allocations: 298.5 kB / 1.033 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006814/0.7382, allocations: 342.4 kB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.717e-05/0.7383, allocations: 20 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.7393, allocations: 494.9 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.7395, allocations: 155.5 kB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.7399, allocations: 327.9 kB / 1.034 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.7411, allocations: 0.8854 MB / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7411, allocations: 0 / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7411, allocations: 0 / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.7412, allocations: 4 kB / 1.035 GB, free: 3.832 MB / 0.7794 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.001626/0.7428, allocations: 0.8334 MB / 1.035 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7429, allocations: 11.98 kB / 1.036 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.7444, allocations: 203.9 kB / 1.036 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000767/0.7452, allocations: 0.4982 MB / 1.036 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.7452, allocations: 33.36 kB / 1.036 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.535e-05/0.7453, allocations: 40.38 kB / 1.036 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.7465, allocations: 0.8487 MB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.7465, allocations: 11.84 kB / 1.037 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.7466, allocations: 23.98 kB / 1.037 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-05/0.7467, allocations: 64.95 kB / 1.037 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009111/0.7476, allocations: 0.5695 MB / 1.038 GB, free: 492 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.7523, allocations: 5.654 MB / 1.043 GB, free: 10.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.753, allocations: 462.6 kB / 1.044 GB, free: 9.969 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.7533, allocations: 229.3 kB / 1.044 GB, free: 9.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.7534, allocations: 3.984 kB / 1.044 GB, free: 9.738 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.198e-05/0.7534, allocations: 42.55 kB / 1.044 GB, free: 9.688 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.7534, allocations: 0 / 1.044 GB, free: 9.688 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002545/0.756, allocations: 1.507 MB / 1.045 GB, free: 8.062 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.756, allocations: 55.69 kB / 1.045 GB, free: 7.996 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.7566, allocations: 0.5029 MB / 1.046 GB, free: 7.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.7567, allocations: 33.7 kB / 1.046 GB, free: 7.441 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.757, allocations: 358.8 kB / 1.046 GB, free: 7.086 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.662e-05/0.7571, allocations: 118.3 kB / 1.046 GB, free: 6.969 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.7572, allocations: 53.69 kB / 1.047 GB, free: 6.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7573, allocations: 362.8 kB / 1.047 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.7576, allocations: 193.2 kB / 1.047 GB, free: 6.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.7581, allocations: 451.3 kB / 1.047 GB, free: 5.801 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007822/0.7589, allocations: 0.6915 MB / 1.048 GB, free: 4.992 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7589, allocations: 4 kB / 1.048 GB, free: 4.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001416/0.7603, allocations: 0.8131 MB / 1.049 GB, free: 4.152 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7603, allocations: 8 kB / 1.049 GB, free: 4.145 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7603, allocations: 8 kB / 1.049 GB, free: 4.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.7608, allocations: 160.5 kB / 1.049 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.7613, allocations: 119.8 kB / 1.049 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.7646, allocations: 4.04 MB / 1.053 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.765, allocations: 39.84 kB / 1.053 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.7651, allocations: 28 kB / 1.053 GB, free: 15.34 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.0002604/0.7653, allocations: 215.1 kB / 1.053 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.7654, allocations: 63.25 kB / 1.054 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.7665, allocations: 0.597 MB / 1.054 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7666, allocations: 4 kB / 1.054 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7666, allocations: 4 kB / 1.054 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.7666, allocations: 7.922 kB / 1.054 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.7684, allocations: 1.261 MB / 1.055 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7684, allocations: 0 / 1.055 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.7686, allocations: 55.89 kB / 1.055 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.7691, allocations: 152.3 kB / 1.056 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.7692, allocations: 8 kB / 1.056 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/0.7724, allocations: 4.021 MB / 1.059 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7724, allocations: 0 / 1.059 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.7735, allocations: 0.7082 MB / 1.06 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.7738, allocations: 172.3 kB / 1.06 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.7739, allocations: 11.94 kB / 1.06 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.7741, allocations: 27.97 kB / 1.06 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.7742, allocations: 27.91 kB / 1.06 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.7742, allocations: 15.98 kB / 1.06 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003705/0.7746, allocations: 338.8 kB / 1.061 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7746, allocations: 0 / 1.061 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006574/0.7753, allocations: 144 kB / 1.061 GB, free: 6.93 MB / 0.8106 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.000144/0.7754, allocations: 115.9 kB / 1.061 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.7768, allocations: 1.028 MB / 1.062 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7768, allocations: 1 kB / 1.062 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008092/0.7776, allocations: 0.7465 MB / 1.063 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.7788, allocations: 193.8 kB / 1.063 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.7804, allocations: 1.278 MB / 1.064 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.7809, allocations: 0.9098 MB / 1.065 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003399/0.7812, allocations: 121.2 kB / 1.065 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.7813, allocations: 39.44 kB / 1.065 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.7813, allocations: 0 / 1.065 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of Templates: time 0.01371/0.7951, allocations: 7.283 MB / 1.072 GB, free: 11.05 MB / 0.8262 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/jenkins/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