Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001043/0.001042, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.529/1.529, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.0009164, allocations: 112.1 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.752e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3051, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.387, allocations: 174.5 MB / 1.376 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.387, allocations: 92.61 kB / 1.376 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1152/1.503, allocations: 55.32 MB / 1.43 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.503, allocations: 0 / 1.43 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.71e-05/1.503, allocations: 23.75 kB / 1.43 GB, free: 1.242 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001732/1.504, allocations: 0.9731 MB / 1.431 GB, free: 284 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.505, allocations: 12.03 kB / 1.431 GB, free: 272 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/1.506, allocations: 237.6 kB / 1.432 GB, free: 36 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/1.507, allocations: 0.5431 MB / 1.432 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/1.507, allocations: 20 kB / 1.432 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/1.507, allocations: 44 kB / 1.432 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009227/1.508, allocations: 0.5965 MB / 1.433 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/1.509, allocations: 1.019 MB / 1.434 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/1.509, allocations: 7.938 kB / 1.434 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/1.509, allocations: 4 kB / 1.434 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.642e-05/1.509, allocations: 57.17 kB / 1.434 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005185/1.515, allocations: 5.761 MB / 1.44 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/1.516, allocations: 0.525 MB / 1.44 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/1.516, allocations: 306.8 kB / 1.44 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/1.516, allocations: 12.42 kB / 1.44 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.516, allocations: 37.75 kB / 1.44 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 3.998e-06/1.516, allocations: 0 / 1.44 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.002067/1.518, allocations: 1.161 MB / 1.442 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/1.518, allocations: 63.84 kB / 1.442 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/1.519, allocations: 407.3 kB / 1.442 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/1.519, allocations: 25.7 kB / 1.442 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/1.519, allocations: 403 kB / 1.442 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/1.519, allocations: 167.2 kB / 1.443 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/1.519, allocations: 0 / 1.443 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.519, allocations: 367.1 kB / 1.443 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/1.52, allocations: 252 kB / 1.443 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/1.52, allocations: 445.8 kB / 1.444 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/1.52, allocations: 315.5 kB / 1.444 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.521, allocations: 0 / 1.444 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001554/1.522, allocations: 0.9649 MB / 1.445 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.522, allocations: 8 kB / 1.445 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.522, allocations: 11.97 kB / 1.445 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00085/1.523, allocations: 268.1 kB / 1.445 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/1.524, allocations: 123.4 kB / 1.445 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/1.53, allocations: 6.327 MB / 1.451 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/1.53, allocations: 23.95 kB / 1.451 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/1.53, allocations: 27.75 kB / 1.451 GB, free: 13.64 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/1.53, allocations: 132.6 kB / 1.452 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/1.531, allocations: 63.25 kB / 1.452 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/1.532, allocations: 0.8218 MB / 1.452 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.532, allocations: 7.953 kB / 1.452 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.532, allocations: 15.92 kB / 1.452 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.532, allocations: 0 / 1.452 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/1.534, allocations: 1.566 MB / 1.454 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.534, allocations: 0 / 1.454 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/1.535, allocations: 63.7 kB / 1.454 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006974/1.535, allocations: 258.8 kB / 1.454 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/1.535, allocations: 4 kB / 1.454 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005486/1.541, allocations: 6.305 MB / 1.46 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.541, allocations: 7.969 kB / 1.46 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.542, allocations: 0.9909 MB / 1.461 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/1.543, allocations: 190.3 kB / 1.462 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/1.543, allocations: 7.953 kB / 1.462 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/1.543, allocations: 15.97 kB / 1.462 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/1.543, allocations: 46.88 kB / 1.462 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/1.543, allocations: 15.44 kB / 1.462 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003344/1.544, allocations: 302.5 kB / 1.462 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.544, allocations: 0 / 1.462 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008592/1.544, allocations: 204 kB / 1.462 GB, free: 3.566 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/1.545, allocations: 111.1 kB / 1.462 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001715/1.546, allocations: 1.175 MB / 1.463 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.546, allocations: 4.125 kB / 1.463 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.548, allocations: 0.8342 MB / 1.464 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/1.548, allocations: 179.6 kB / 1.464 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/1.55, allocations: 0.9475 MB / 1.465 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/1.551, allocations: 1.037 MB / 1.466 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003815/1.551, allocations: 113.4 kB / 1.466 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/1.551, allocations: 35.44 kB / 1.466 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/1.551, allocations: 0 / 1.466 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of Templates: time 0.01583/1.567, allocations: 9.311 MB / 1.476 GB, free: 6.305 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches