Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001073/0.001073, allocations: 99.03 kB / 16.02 MB, free: 76 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.001723/0.001723, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.477/1.477, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003868, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6884/0.6888, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004302/0.6931, allocations: 4.517 MB / 0.9601 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.6965, allocations: 2.467 MB / 0.9625 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.6968, allocations: 21.28 kB / 0.9626 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.6971, allocations: 91.83 kB / 0.9626 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008705/0.698, allocations: 421.6 kB / 0.963 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000754/0.6987, allocations: 357.7 kB / 0.9634 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.6998, allocations: 1.138 MB / 0.9645 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007274/0.7005, allocations: 468.5 kB / 0.9649 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/0.7009, allocations: 288.5 kB / 0.9652 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.7013, allocations: 343.5 kB / 0.9655 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.7014, allocations: 18.97 kB / 0.9656 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.7022, allocations: 495.1 kB / 0.966 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.7023, allocations: 166.8 kB / 0.9662 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.7026, allocations: 314.2 kB / 0.9665 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000698/0.7033, allocations: 0.6626 MB / 0.9671 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.7033, allocations: 1.031 kB / 0.9671 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7034, allocations: 3.938 kB / 0.9672 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.7034, allocations: 0 / 0.9672 GB, free: 15.17 MB / 0.7325 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.001214/0.7046, allocations: 0.834 MB / 0.968 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.7046, allocations: 13.56 kB / 0.968 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.7059, allocations: 197.7 kB / 0.9682 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007006/0.7066, allocations: 0.5019 MB / 0.9687 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.7067, allocations: 35.55 kB / 0.9687 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.7067, allocations: 40.31 kB / 0.9687 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.7079, allocations: 0.8521 MB / 0.9696 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.708, allocations: 7.875 kB / 0.9696 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.708, allocations: 27.47 kB / 0.9696 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.7081, allocations: 63.06 kB / 0.9697 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.709, allocations: 0.5706 MB / 0.9702 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004127/0.7132, allocations: 5.65 MB / 0.9757 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.7138, allocations: 452.4 kB / 0.9762 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.7142, allocations: 228.2 kB / 0.9764 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.7142, allocations: 7.25 kB / 0.9764 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.7142, allocations: 39.47 kB / 0.9764 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.295e-06/0.7142, allocations: 0.9688 kB / 0.9764 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002636/0.7169, allocations: 1.507 MB / 0.9779 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.7169, allocations: 67.78 kB / 0.978 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.7175, allocations: 0.4978 MB / 0.9784 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.7175, allocations: 34.92 kB / 0.9785 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.7177, allocations: 355.9 kB / 0.9788 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.7178, allocations: 126.7 kB / 0.9789 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/0.7179, allocations: 54.31 kB / 0.979 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7181, allocations: 363.8 kB / 0.9793 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.7183, allocations: 197.2 kB / 0.9795 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.7188, allocations: 448.9 kB / 0.98 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007685/0.7196, allocations: 0.6902 MB / 0.9806 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.7196, allocations: 2.562 kB / 0.9806 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001237/0.7208, allocations: 0.8077 MB / 0.9814 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.7209, allocations: 9.156 kB / 0.9814 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7209, allocations: 8.438 kB / 0.9814 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.7214, allocations: 153.9 kB / 0.9816 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.7218, allocations: 126.3 kB / 0.9817 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.7248, allocations: 4.035 MB / 0.9856 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.7253, allocations: 37.66 kB / 0.9857 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.7253, allocations: 27 kB / 0.9857 GB, free: 14.89 MB / 0.7481 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.0002854/0.7256, allocations: 211.3 kB / 0.9859 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/0.7257, allocations: 62.22 kB / 0.986 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.7267, allocations: 0.6088 MB / 0.9866 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.7268, allocations: 4 kB / 0.9866 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7268, allocations: 0 / 0.9866 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.7268, allocations: 3.938 kB / 0.9866 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.7285, allocations: 1.267 MB / 0.9878 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.7285, allocations: 4 kB / 0.9878 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.7288, allocations: 59.89 kB / 0.9879 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003895/0.7292, allocations: 140.4 kB / 0.988 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.7292, allocations: 4 kB / 0.988 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.732, allocations: 4.036 MB / 0.9919 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.732, allocations: 4.031 kB / 0.992 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.733, allocations: 0.7046 MB / 0.9926 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.7332, allocations: 172.3 kB / 0.9928 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.7333, allocations: 11.94 kB / 0.9928 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.7335, allocations: 19.97 kB / 0.9928 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.7336, allocations: 35.91 kB / 0.9929 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.7337, allocations: 12 kB / 0.9929 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003365/0.734, allocations: 338.8 kB / 0.9932 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.734, allocations: 0 / 0.9932 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006552/0.7347, allocations: 144 kB / 0.9933 GB, free: 6.691 MB / 0.7481 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.0001349/0.7348, allocations: 119.2 kB / 0.9935 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.7361, allocations: 1.021 MB / 0.9945 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.7361, allocations: 0 / 0.9945 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007802/0.7369, allocations: 0.7428 MB / 0.9952 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.738, allocations: 196.6 kB / 0.9954 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.7397, allocations: 1.336 MB / 0.9967 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.7402, allocations: 0.9098 MB / 0.9976 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.7403, allocations: 43.44 kB / 0.9976 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.7403, allocations: 0 / 0.9976 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of Templates: time 0.02035/0.7607, allocations: 18.23 MB / 1.015 GB, free: 15.87 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches