Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.289/2.289, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001089/0.001089, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.49/1.49, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 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.0008579/0.0008581, allocations: 95.91 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.605e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2572, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8464/1.104, allocations: 172.1 MB / 1.374 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.104, allocations: 89.27 kB / 1.374 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1024/1.206, allocations: 40.06 MB / 1.413 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.207, allocations: 0 / 1.413 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.355e-05/1.207, allocations: 20 kB / 1.413 GB, free: 15.33 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.001747/1.208, allocations: 0.8775 MB / 1.414 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.208, allocations: 8.031 kB / 1.414 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/1.21, allocations: 214.8 kB / 1.414 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/1.211, allocations: 0.533 MB / 1.415 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/1.211, allocations: 20 kB / 1.415 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/1.211, allocations: 39.44 kB / 1.415 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009515/1.212, allocations: 0.5421 MB / 1.415 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/1.214, allocations: 0.988 MB / 1.416 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/1.214, allocations: 11.84 kB / 1.416 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/1.214, allocations: 7.984 kB / 1.416 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/1.214, allocations: 63.72 kB / 1.416 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/1.219, allocations: 5.622 MB / 1.422 GB, free: 6.836 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/1.219, allocations: 0.5771 MB / 1.423 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/1.22, allocations: 382.1 kB / 1.423 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/1.22, allocations: 4.688 kB / 1.423 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.22, allocations: 34.06 kB / 1.423 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=41): time 3.577e-06/1.22, allocations: 4 kB / 1.423 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42): time 0.002099/1.222, allocations: 1.162 MB / 1.424 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/1.222, allocations: 55.41 kB / 1.424 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/1.223, allocations: 333.2 kB / 1.424 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/1.223, allocations: 25.7 kB / 1.424 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/1.223, allocations: 376.5 kB / 1.425 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.223, allocations: 143.7 kB / 1.425 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/1.223, allocations: 0 / 1.425 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.223, allocations: 364 kB / 1.425 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/1.224, allocations: 222.6 kB / 1.426 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/1.224, allocations: 409.1 kB / 1.426 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/1.224, allocations: 289.2 kB / 1.426 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.224, allocations: 0 / 1.426 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001549/1.226, allocations: 0.9316 MB / 1.427 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.226, allocations: 12.03 kB / 1.427 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.226, allocations: 8 kB / 1.427 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009196/1.227, allocations: 315.6 kB / 1.427 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/1.227, allocations: 87.77 kB / 1.427 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/1.234, allocations: 6.832 MB / 1.434 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/1.234, allocations: 23.91 kB / 1.434 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/1.234, allocations: 23.31 kB / 1.434 GB, free: 11.58 MB / 0.8542 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.0001513/1.234, allocations: 120.2 kB / 1.434 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/1.235, allocations: 51.39 kB / 1.434 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.236, allocations: 0.8506 MB / 1.435 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.236, allocations: 12 kB / 1.435 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.236, allocations: 4 kB / 1.435 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.236, allocations: 192 / 1.435 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/1.239, allocations: 1.705 MB / 1.437 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.239, allocations: 3.938 kB / 1.437 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/1.239, allocations: 46.78 kB / 1.437 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008061/1.24, allocations: 275 kB / 1.437 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/1.24, allocations: 4 kB / 1.437 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/1.245, allocations: 6.556 MB / 1.444 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.245, allocations: 0 / 1.444 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/1.247, allocations: 0.9638 MB / 1.445 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/1.247, allocations: 168.8 kB / 1.445 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/1.247, allocations: 4 kB / 1.445 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/1.247, allocations: 19.97 kB / 1.445 GB, free: 1.621 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/1.247, allocations: 38.52 kB / 1.445 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/1.247, allocations: 14.81 kB / 1.445 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002756/1.248, allocations: 248.1 kB / 1.445 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.248, allocations: 0 / 1.445 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009169/1.249, allocations: 183.9 kB / 1.445 GB, free: 1.207 MB / 0.8542 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.0001777/1.249, allocations: 106.2 kB / 1.445 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.251, allocations: 1.085 MB / 1.446 GB, free: 184 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.251, allocations: 0 / 1.446 GB, free: 184 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.252, allocations: 0.7701 MB / 1.447 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/1.253, allocations: 164.8 kB / 1.447 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.254, allocations: 0.8713 MB / 1.448 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/1.255, allocations: 1.008 MB / 1.449 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003144/1.255, allocations: 92.92 kB / 1.449 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/1.255, allocations: 42.48 kB / 1.449 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/1.255, allocations: 4 kB / 1.449 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.0155/1.271, allocations: 8.099 MB / 1.457 GB, free: 5.387 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches