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.29/2.29, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001161/0.001161, allocations: 185 kB / 498.1 MB, free: 5.676 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.566/1.566, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009594/0.0009594, allocations: 100.2 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004548, allocations: 10.19 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/0.5206, allocations: 192.9 MB / 1.411 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.521, allocations: 95.94 kB / 1.411 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6204/1.141, allocations: 34.41 MB / 1.445 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.154e-06/1.141, allocations: 0 / 1.445 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.54e-05/1.141, allocations: 17.69 kB / 1.445 GB, free: 193 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001517/1.143, allocations: 0.8628 MB / 1.446 GB, free: 192.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.143, allocations: 13.19 kB / 1.446 GB, free: 192.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/1.144, allocations: 199.7 kB / 1.446 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/1.145, allocations: 0.4938 MB / 1.446 GB, free: 192.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/1.145, allocations: 37 kB / 1.447 GB, free: 192.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/1.146, allocations: 56.23 kB / 1.447 GB, free: 192.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/1.147, allocations: 0.8658 MB / 1.447 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.147, allocations: 6.656 kB / 1.447 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/1.147, allocations: 23.31 kB / 1.447 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.085e-05/1.147, allocations: 47.62 kB / 1.447 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/1.148, allocations: 0.5681 MB / 1.448 GB, free: 191.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003956/1.152, allocations: 4.595 MB / 1.453 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/1.152, allocations: 291.1 kB / 1.453 GB, free: 188 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/1.152, allocations: 7.344 kB / 1.453 GB, free: 188 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.153, allocations: 40.23 kB / 1.453 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/1.153, allocations: 0 / 1.453 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=40): time 0.00599/1.159, allocations: 2.641 MB / 1.455 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/1.159, allocations: 55.69 kB / 1.455 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/1.159, allocations: 396 kB / 1.456 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/1.159, allocations: 35.92 kB / 1.456 GB, free: 186.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/1.159, allocations: 328.1 kB / 1.456 GB, free: 186 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/1.159, allocations: 147.3 kB / 1.456 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/1.159, allocations: 10.56 kB / 1.456 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.16, allocations: 365.9 kB / 1.457 GB, free: 185.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/1.16, allocations: 232.5 kB / 1.457 GB, free: 185.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/1.16, allocations: 387.3 kB / 1.457 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/1.161, allocations: 286.2 kB / 1.458 GB, free: 185 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.161, allocations: 5.438 kB / 1.458 GB, free: 185 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001924/1.163, allocations: 0.8965 MB / 1.458 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.163, allocations: 14.94 kB / 1.458 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.163, allocations: 4.875 kB / 1.458 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009261/1.164, allocations: 227.9 kB / 1.459 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/1.164, allocations: 111.2 kB / 1.459 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/1.169, allocations: 5.013 MB / 1.464 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/1.17, allocations: 26.88 kB / 1.464 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/1.17, allocations: 19.75 kB / 1.464 GB, free: 180.2 MB / 0.9167 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 () * Number of clocked 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.0004177/1.171, allocations: 233.7 kB / 1.464 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.409e-05/1.171, allocations: 57.5 kB / 1.464 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.172, allocations: 0.7661 MB / 1.465 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.172, allocations: 3.938 kB / 1.465 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.172, allocations: 0 / 1.465 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.172, allocations: 3.609 kB / 1.465 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/1.174, allocations: 1.483 MB / 1.466 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/1.174, allocations: 3.969 kB / 1.466 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/1.175, allocations: 75.19 kB / 1.466 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006446/1.175, allocations: 206.2 kB / 1.466 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/1.175, allocations: 7.75 kB / 1.466 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/1.179, allocations: 4.946 MB / 1.471 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.179, allocations: 384 / 1.471 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/1.181, allocations: 1.216 MB / 1.473 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/1.181, allocations: 167.8 kB / 1.473 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/1.181, allocations: 19.94 kB / 1.473 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/1.181, allocations: 19.5 kB / 1.473 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/1.181, allocations: 38.38 kB / 1.473 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/1.181, allocations: 18.03 kB / 1.473 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003571/1.182, allocations: 311.2 kB / 1.473 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.31e-07/1.182, allocations: 0 / 1.473 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007483/1.183, allocations: 173 kB / 1.473 GB, free: 173.4 MB / 0.9167 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 () * Number of clocked 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.0001788/1.183, allocations: 129.2 kB / 1.473 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001317/1.184, allocations: 0.9964 MB / 1.474 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.184, allocations: 0 / 1.474 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007688/1.185, allocations: 0.6767 MB / 1.475 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/1.186, allocations: 153.5 kB / 1.475 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/1.188, allocations: 1.489 MB / 1.477 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/1.188, allocations: 0.9618 MB / 1.478 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004226/1.189, allocations: 113.1 kB / 1.478 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.558e-05/1.189, allocations: 33.69 kB / 1.478 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/1.189, allocations: 0 / 1.478 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.0131/1.202, allocations: 8.154 MB / 1.486 GB, free: 164.1 MB / 0.9167 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