Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.00138/0.001381, allocations: 184 kB / 492.3 MB, free: 0.6094 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.591/1.591, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.000905/0.0009049, allocations: 104.6 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.996e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2689, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9398/1.209, allocations: 192.8 MB / 1.401 GB, free: 7.398 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.209, allocations: 96 kB / 1.401 GB, free: 7.348 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07738/1.287, allocations: 34.23 MB / 1.434 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.233e-06/1.287, allocations: 0 / 1.434 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.319e-05/1.287, allocations: 16 kB / 1.434 GB, free: 10.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001318/1.288, allocations: 0.801 MB / 1.435 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.288, allocations: 12.03 kB / 1.435 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/1.289, allocations: 190.9 kB / 1.435 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/1.29, allocations: 496.1 kB / 1.436 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/1.29, allocations: 38.67 kB / 1.436 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/1.291, allocations: 68.94 kB / 1.436 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.292, allocations: 0.8607 MB / 1.437 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.292, allocations: 4 kB / 1.437 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/1.292, allocations: 25.3 kB / 1.437 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/1.292, allocations: 40.3 kB / 1.437 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/1.293, allocations: 0.5677 MB / 1.437 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/1.297, allocations: 4.592 MB / 1.442 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/1.298, allocations: 291.9 kB / 1.442 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/1.298, allocations: 220.5 kB / 1.442 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/1.298, allocations: 4 kB / 1.442 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.298, allocations: 41.73 kB / 1.442 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/1.298, allocations: 4 kB / 1.442 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.004561/1.303, allocations: 2.194 MB / 1.444 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/1.303, allocations: 55.41 kB / 1.444 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/1.303, allocations: 386.6 kB / 1.445 GB, free: 348 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/1.303, allocations: 37.31 kB / 1.445 GB, free: 312 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/1.303, allocations: 331.4 kB / 1.445 GB, free: 52 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/1.303, allocations: 145.4 kB / 1.445 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/1.303, allocations: 11.81 kB / 1.445 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.304, allocations: 369.2 kB / 1.446 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/1.304, allocations: 233.5 kB / 1.446 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/1.304, allocations: 376.5 kB / 1.446 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/1.305, allocations: 289.2 kB / 1.447 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.305, allocations: 4 kB / 1.447 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001546/1.306, allocations: 0.8813 MB / 1.447 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.306, allocations: 8.562 kB / 1.447 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.306, allocations: 4 kB / 1.447 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007476/1.307, allocations: 224.1 kB / 1.448 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/1.308, allocations: 111.1 kB / 1.448 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/1.313, allocations: 4.921 MB / 1.453 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/1.313, allocations: 29.91 kB / 1.453 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/1.313, allocations: 23.56 kB / 1.453 GB, free: 9.023 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.313, allocations: 138.2 kB / 1.453 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/1.313, allocations: 63.28 kB / 1.453 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/1.315, allocations: 0.7622 MB / 1.454 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.315, allocations: 4.188 kB / 1.454 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.315, allocations: 4 kB / 1.454 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.315, allocations: 0 / 1.454 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/1.317, allocations: 1.477 MB / 1.455 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.317, allocations: 4 kB / 1.455 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/1.318, allocations: 70.44 kB / 1.455 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006357/1.318, allocations: 200 kB / 1.455 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/1.318, allocations: 15.42 kB / 1.455 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004566/1.323, allocations: 4.857 MB / 1.46 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.323, allocations: 3.984 kB / 1.46 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.325, allocations: 1.2 MB / 1.461 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/1.325, allocations: 170.6 kB / 1.461 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.274e-05/1.325, allocations: 11.92 kB / 1.461 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/1.326, allocations: 27.47 kB / 1.461 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.326, allocations: 35.09 kB / 1.461 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/1.326, allocations: 15.19 kB / 1.461 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003431/1.326, allocations: 304.5 kB / 1.462 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.326, allocations: 4.062 kB / 1.462 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007402/1.327, allocations: 173 kB / 1.462 GB, free: 396 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/1.327, allocations: 127.7 kB / 1.462 GB, free: 268 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001616/1.329, allocations: 0.9879 MB / 1.463 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.329, allocations: 0 / 1.463 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009822/1.33, allocations: 0.6723 MB / 1.464 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/1.33, allocations: 165 kB / 1.464 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/1.332, allocations: 0.9516 MB / 1.465 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/1.333, allocations: 0.9526 MB / 1.466 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004263/1.333, allocations: 120.8 kB / 1.466 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/1.333, allocations: 35.44 kB / 1.466 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of SimCode: time 6.51e-07/1.333, allocations: 3.938 kB / 1.466 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of Templates: time 0.01516/1.349, allocations: 8.168 MB / 1.474 GB, free: 4.633 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches