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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.338/2.338, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001123, allocations: 184 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 106 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004976, allocations: 11.36 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3854, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2112/0.5967, allocations: 166.7 MB / 1.392 GB, free: 2.914 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/0.5972, allocations: 99.94 kB / 1.392 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.08045/0.6776, allocations: 32.73 MB / 1.424 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6777, allocations: 0 / 1.424 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.07e-05/0.6778, allocations: 16 kB / 1.424 GB, free: 1.734 MB / 0.9167 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.001931/0.6797, allocations: 0.8605 MB / 1.425 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.6798, allocations: 12.52 kB / 1.425 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.6812, allocations: 206.9 kB / 1.425 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.6824, allocations: 492.4 kB / 1.426 GB, free: 88 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.6824, allocations: 33 kB / 1.426 GB, free: 56 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.6826, allocations: 47.97 kB / 1.426 GB, free: 8 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6266/1.309, allocations: 0.9175 MB / 1.427 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-05/1.309, allocations: 11 kB / 1.427 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/1.309, allocations: 24.69 kB / 1.427 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/1.31, allocations: 51.67 kB / 1.427 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/1.311, allocations: 0.5659 MB / 1.427 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/1.315, allocations: 5.663 MB / 1.433 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/1.316, allocations: 459.8 kB / 1.433 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/1.316, allocations: 2.969 kB / 1.433 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/1.316, allocations: 36.39 kB / 1.433 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=32): time 2.444e-06/1.316, allocations: 1.031 kB / 1.433 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.002732/1.319, allocations: 1.506 MB / 1.435 GB, free: 170.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/1.319, allocations: 53.94 kB / 1.435 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/1.32, allocations: 443.2 kB / 1.435 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/1.32, allocations: 34.17 kB / 1.435 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/1.32, allocations: 344.5 kB / 1.435 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.32, allocations: 120.7 kB / 1.436 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/1.32, allocations: 9.594 kB / 1.436 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.32, allocations: 371.4 kB / 1.436 GB, free: 170 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/1.321, allocations: 189.9 kB / 1.436 GB, free: 170 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/1.321, allocations: 411.5 kB / 1.437 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/1.322, allocations: 254.6 kB / 1.437 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.322, allocations: 1.062 kB / 1.437 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001712/1.323, allocations: 0.7713 MB / 1.438 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.324, allocations: 14.45 kB / 1.438 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.324, allocations: 8.344 kB / 1.438 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005228/1.324, allocations: 153.5 kB / 1.438 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/1.325, allocations: 114 kB / 1.438 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/1.328, allocations: 4.054 MB / 1.442 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/1.328, allocations: 31.8 kB / 1.442 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/1.328, allocations: 30.42 kB / 1.442 GB, free: 165.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003691/1.329, allocations: 210.8 kB / 1.442 GB, free: 165.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.329, allocations: 67.2 kB / 1.442 GB, free: 165.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/1.33, allocations: 0.5953 MB / 1.443 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.33, allocations: 5.203 kB / 1.443 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.33, allocations: 1.375 kB / 1.443 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.33, allocations: 6.609 kB / 1.443 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/1.332, allocations: 1.255 MB / 1.444 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.333, allocations: 2 kB / 1.444 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/1.333, allocations: 53.78 kB / 1.444 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/1.334, allocations: 147.5 kB / 1.444 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/1.334, allocations: 6.359 kB / 1.444 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/1.337, allocations: 4.05 MB / 1.448 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.337, allocations: 1.562 kB / 1.448 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/1.339, allocations: 0.8013 MB / 1.449 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/1.339, allocations: 168.8 kB / 1.449 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/1.339, allocations: 9.391 kB / 1.449 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/1.34, allocations: 22.47 kB / 1.449 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.34, allocations: 39.95 kB / 1.449 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/1.34, allocations: 13.72 kB / 1.449 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005895/1.34, allocations: 336.7 kB / 1.449 GB, free: 160.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.91e-07/1.341, allocations: 0 / 1.449 GB, free: 160.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001132/1.342, allocations: 150 kB / 1.45 GB, free: 160.7 MB / 0.9167 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001951/1.342, allocations: 117.8 kB / 1.45 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001831/1.344, allocations: 1.017 MB / 1.451 GB, free: 160.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.344, allocations: 0 / 1.451 GB, free: 160.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.345, allocations: 0.7329 MB / 1.451 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.346, allocations: 180.4 kB / 1.452 GB, free: 159.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/1.348, allocations: 1.224 MB / 1.453 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/1.349, allocations: 0.9321 MB / 1.454 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005634/1.349, allocations: 115.2 kB / 1.454 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/1.35, allocations: 39.39 kB / 1.454 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of SimCode: time 3.31e-07/1.35, allocations: 0 / 1.454 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.02184/1.371, allocations: 7.059 MB / 1.461 GB, free: 157.7 MB / 0.9167 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","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches