Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001947/0.001947, allocations: 176.6 kB / 487.4 MB, free: 5.023 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.574/1.574, allocations: 221.5 MB / 0.7824 GB, free: 0.9062 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.0008539/0.000854, allocations: 95.91 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.976e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.412, allocations: 175.2 MB / 1.377 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.412, allocations: 94.95 kB / 1.377 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1205/1.533, allocations: 55.66 MB / 1.431 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.522e-06/1.533, allocations: 4 kB / 1.432 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.18e-05/1.533, allocations: 20 kB / 1.432 GB, free: 0.5195 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002197/1.535, allocations: 0.8768 MB / 1.432 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.535, allocations: 12.03 kB / 1.432 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/1.537, allocations: 218.1 kB / 1.433 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.538, allocations: 0.5522 MB / 1.433 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/1.538, allocations: 20 kB / 1.433 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/1.539, allocations: 39.12 kB / 1.433 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/1.54, allocations: 0.5433 MB / 1.434 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/1.541, allocations: 0.9842 MB / 1.435 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-05/1.541, allocations: 7.938 kB / 1.435 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/1.542, allocations: 8 kB / 1.435 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.784e-05/1.542, allocations: 61.08 kB / 1.435 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006638/1.548, allocations: 5.636 MB / 1.44 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/1.549, allocations: 0.5802 MB / 1.441 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/1.55, allocations: 382 kB / 1.441 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/1.55, allocations: 4.688 kB / 1.441 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.55, allocations: 38.44 kB / 1.441 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 4.318e-06/1.55, allocations: 0 / 1.441 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.00255/1.552, allocations: 1.168 MB / 1.442 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/1.553, allocations: 59.34 kB / 1.442 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/1.553, allocations: 331.3 kB / 1.443 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/1.553, allocations: 25.7 kB / 1.443 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/1.553, allocations: 381.8 kB / 1.443 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/1.553, allocations: 147.5 kB / 1.443 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/1.554, allocations: 0 / 1.443 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.554, allocations: 363.8 kB / 1.444 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/1.554, allocations: 220 kB / 1.444 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/1.555, allocations: 408 kB / 1.444 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/1.555, allocations: 286.9 kB / 1.444 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.555, allocations: 4 kB / 1.445 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001755/1.557, allocations: 0.9319 MB / 1.445 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.557, allocations: 8 kB / 1.445 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.557, allocations: 8 kB / 1.445 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.558, allocations: 306.4 kB / 1.446 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/1.558, allocations: 94.75 kB / 1.446 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007684/1.566, allocations: 6.827 MB / 1.452 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/1.566, allocations: 19.97 kB / 1.452 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/1.567, allocations: 26.94 kB / 1.453 GB, free: 12.74 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/1.567, allocations: 120.7 kB / 1.453 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/1.567, allocations: 59.3 kB / 1.453 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.569, allocations: 0.8461 MB / 1.454 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.569, allocations: 12.03 kB / 1.454 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.569, allocations: 4.125 kB / 1.454 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.569, allocations: 7.984 kB / 1.454 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/1.572, allocations: 1.712 MB / 1.455 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/1.572, allocations: 0 / 1.455 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/1.572, allocations: 43.97 kB / 1.455 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008161/1.573, allocations: 281.3 kB / 1.456 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/1.573, allocations: 0 / 1.456 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006465/1.579, allocations: 6.556 MB / 1.462 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.579, allocations: 0 / 1.462 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/1.581, allocations: 0.9682 MB / 1.463 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/1.581, allocations: 166.8 kB / 1.463 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.582, allocations: 7.984 kB / 1.463 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/1.582, allocations: 11.98 kB / 1.463 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.582, allocations: 39.81 kB / 1.463 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/1.582, allocations: 15.67 kB / 1.463 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000345/1.582, allocations: 245.3 kB / 1.463 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.41e-07/1.582, allocations: 0 / 1.463 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001057/1.583, allocations: 180 kB / 1.464 GB, free: 2.359 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/1.584, allocations: 120.1 kB / 1.464 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001803/1.585, allocations: 1.082 MB / 1.465 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.585, allocations: 0 / 1.465 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.587, allocations: 0.7737 MB / 1.465 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/1.588, allocations: 171.8 kB / 1.466 GB, free: 496 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/1.59, allocations: 0.8737 MB / 1.466 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/1.59, allocations: 1.017 MB / 1.467 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003705/1.591, allocations: 92.89 kB / 1.468 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/1.591, allocations: 35.44 kB / 1.468 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of SimCode: time 1.292e-06/1.591, allocations: 0 / 1.468 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of Templates: time 0.01723/1.608, allocations: 8.118 MB / 1.475 GB, free: 6.492 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches