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.001452/0.001452, allocations: 108 kB / 15.6 MB, free: 132 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.001649/0.001649, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.534/1.534, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.972/2.972, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 67.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7986, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007326/0.806, allocations: 4.89 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004985/0.811, allocations: 2.487 MB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.8115, allocations: 23.81 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.8129, allocations: 406.7 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.8141, allocations: 449.6 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.8151, allocations: 394.3 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.8162, allocations: 0.9251 MB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006367/0.8169, allocations: 354.5 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.8174, allocations: 330.7 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.8179, allocations: 350.5 kB / 1.028 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.818, allocations: 40 kB / 1.028 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008711/0.8189, allocations: 407.1 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.8191, allocations: 183.4 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.8195, allocations: 326.2 kB / 1.029 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.8206, allocations: 0.8701 MB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8206, allocations: 0 / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8206, allocations: 4 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.8206, allocations: 3.984 kB / 1.029 GB, free: 6.059 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.001608/0.8222, allocations: 0.9463 MB / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.8223, allocations: 11.98 kB / 1.03 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.8235, allocations: 211.7 kB / 1.031 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007342/0.8243, allocations: 0.4943 MB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.8243, allocations: 33.36 kB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.8244, allocations: 40.38 kB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.8256, allocations: 0.8487 MB / 1.032 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.8256, allocations: 7.938 kB / 1.032 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.8257, allocations: 23.98 kB / 1.032 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-05/0.8258, allocations: 64.95 kB / 1.032 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000893/0.8267, allocations: 0.5734 MB / 1.033 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.8319, allocations: 5.65 MB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.8326, allocations: 462.1 kB / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.833, allocations: 225.3 kB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.833, allocations: 7.984 kB / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.8331, allocations: 46.48 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.8331, allocations: 0 / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002736/0.8358, allocations: 1.488 MB / 1.04 GB, free: 10.19 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.8359, allocations: 63.62 kB / 1.04 GB, free: 10.12 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.8365, allocations: 0.5067 MB / 1.041 GB, free: 9.598 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.8365, allocations: 29.7 kB / 1.041 GB, free: 9.562 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.8368, allocations: 358.8 kB / 1.041 GB, free: 9.207 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.837, allocations: 114.4 kB / 1.041 GB, free: 9.094 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.8371, allocations: 118.1 kB / 1.041 GB, free: 8.973 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.8373, allocations: 362.8 kB / 1.042 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.8377, allocations: 197.2 kB / 1.042 GB, free: 8.414 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.8382, allocations: 443.3 kB / 1.042 GB, free: 7.867 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/0.8391, allocations: 0.6994 MB / 1.043 GB, free: 7.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.8391, allocations: 4 kB / 1.043 GB, free: 7.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001352/0.8405, allocations: 0.8091 MB / 1.044 GB, free: 6.215 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.8405, allocations: 8 kB / 1.044 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.8405, allocations: 12 kB / 1.044 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.8411, allocations: 152.7 kB / 1.044 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.8415, allocations: 127.7 kB / 1.044 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.8455, allocations: 4.332 MB / 1.048 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.846, allocations: 40.12 kB / 1.048 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.846, allocations: 31.98 kB / 1.048 GB, free: 1.086 MB / 0.795 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.0003404/0.8464, allocations: 220.2 kB / 1.049 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.8465, allocations: 63.25 kB / 1.049 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.8475, allocations: 0.6011 MB / 1.049 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.8476, allocations: 7.984 kB / 1.049 GB, free: 176 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.8476, allocations: 0 / 1.049 GB, free: 176 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.8476, allocations: 7.984 kB / 1.049 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.8495, allocations: 1.259 MB / 1.051 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8495, allocations: 0 / 1.051 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.8498, allocations: 59.89 kB / 1.051 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/0.8502, allocations: 148.3 kB / 1.051 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.8503, allocations: 11.94 kB / 1.051 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003767/0.854, allocations: 4.333 MB / 1.055 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8541, allocations: 0 / 1.055 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.8552, allocations: 0.7115 MB / 1.056 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.8556, allocations: 168.3 kB / 1.056 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.8557, allocations: 8 kB / 1.056 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.856, allocations: 23.97 kB / 1.056 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.8561, allocations: 35.84 kB / 1.056 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.8561, allocations: 12 kB / 1.056 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004991/0.8566, allocations: 338.8 kB / 1.056 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8566, allocations: 0 / 1.056 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007794/0.8574, allocations: 144 kB / 1.056 GB, free: 8.336 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.0002139/0.8576, allocations: 115.2 kB / 1.056 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.8596, allocations: 1.072 MB / 1.058 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.8596, allocations: 0 / 1.058 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.8607, allocations: 0.7472 MB / 1.058 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.8618, allocations: 206.8 kB / 1.058 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.864, allocations: 1.057 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/0.8648, allocations: 0.9059 MB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004399/0.8652, allocations: 121.3 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.8653, allocations: 39.44 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.8654, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of Templates: time 0.01766/0.883, allocations: 7.607 MB / 1.068 GB, free: 12.32 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=400 -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