Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 172.9 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008689/0.0008689, allocations: 94.39 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.524e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1824, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6431/0.8256, allocations: 173.8 MB / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.8259, allocations: 98.98 kB / 1.055 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.195/1.021, allocations: 77.24 MB / 1.13 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/1.021, allocations: 0 / 1.13 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001047/1.021, allocations: 47.92 kB / 1.131 GB, free: 10.33 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002929/1.024, allocations: 1.532 MB / 1.132 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.024, allocations: 8.031 kB / 1.132 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/1.035, allocations: 1.808 MB / 1.134 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/1.037, allocations: 1.138 MB / 1.135 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/1.037, allocations: 40 kB / 1.135 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/1.038, allocations: 75.94 kB / 1.135 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002476/1.04, allocations: 1.438 MB / 1.136 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/1.043, allocations: 1.869 MB / 1.138 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/1.043, allocations: 15.84 kB / 1.138 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.043, allocations: 7.984 kB / 1.138 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/1.043, allocations: 86.14 kB / 1.138 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/1.056, allocations: 9.907 MB / 1.148 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/1.058, allocations: 1.113 MB / 1.149 GB, free: 6.316 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009356/1.059, allocations: 0.58 MB / 1.15 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/1.059, allocations: 8.422 kB / 1.15 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/1.059, allocations: 39 kB / 1.15 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=53): time 5.169e-06/1.059, allocations: 0 / 1.15 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81): time 0.008335/1.067, allocations: 3.885 MB / 1.154 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.068, allocations: 214.4 kB / 1.154 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/1.069, allocations: 0.7461 MB / 1.154 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-05/1.069, allocations: 29.7 kB / 1.154 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/1.069, allocations: 0.7408 MB / 1.155 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.07, allocations: 275.9 kB / 1.155 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/1.07, allocations: 0 / 1.155 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.07, allocations: 342 kB / 1.156 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008945/1.071, allocations: 0.6703 MB / 1.156 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/1.072, allocations: 0.9149 MB / 1.157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.073, allocations: 0.7776 MB / 1.158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.073, allocations: 0 / 1.158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004777/1.078, allocations: 2.429 MB / 1.16 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.078, allocations: 8 kB / 1.16 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.078, allocations: 4 kB / 1.16 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002926/1.081, allocations: 0.8423 MB / 1.161 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/1.083, allocations: 415.3 kB / 1.162 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.097, allocations: 14.32 MB / 1.176 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.099, allocations: 287.6 kB / 1.176 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.099, allocations: 51.95 kB / 1.176 GB, free: 9.551 MB / 0.7917 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000271/1.1, allocations: 128.7 kB / 1.176 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/1.1, allocations: 126.5 kB / 1.176 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/1.105, allocations: 2.416 MB / 1.179 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.105, allocations: 8 kB / 1.179 GB, free: 6.828 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.105, allocations: 12 kB / 1.179 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.105, allocations: 7.938 kB / 1.179 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007119/1.112, allocations: 4.022 MB / 1.183 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.112, allocations: 4 kB / 1.183 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.114, allocations: 363.7 kB / 1.183 GB, free: 2.316 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/1.116, allocations: 0.7482 MB / 1.184 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/1.116, allocations: 27.91 kB / 1.184 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/1.129, allocations: 13.93 MB / 1.197 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.13, allocations: 7.984 kB / 1.197 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/1.134, allocations: 2.419 MB / 1.2 GB, free: 116 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/1.135, allocations: 383.2 kB / 1.2 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.135, allocations: 4 kB / 1.2 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.137, allocations: 295.5 kB / 1.2 GB, free: 15.43 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/1.137, allocations: 76.61 kB / 1.2 GB, free: 15.35 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/1.137, allocations: 39.97 kB / 1.2 GB, free: 15.31 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007641/1.138, allocations: 0.5641 MB / 1.201 GB, free: 14.74 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.61e-07/1.138, allocations: 0 / 1.201 GB, free: 14.74 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001512/1.139, allocations: 419.9 kB / 1.201 GB, free: 14.33 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002932/1.14, allocations: 135.2 kB / 1.201 GB, free: 14.19 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004015/1.144, allocations: 2.741 MB / 1.204 GB, free: 11.37 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.144, allocations: 0 / 1.204 GB, free: 11.37 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002727/1.146, allocations: 1.895 MB / 1.206 GB, free: 9.395 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/1.148, allocations: 424.2 kB / 1.206 GB, free: 8.984 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/1.154, allocations: 2.655 MB / 1.209 GB, free: 6.262 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009755/1.155, allocations: 1.423 MB / 1.21 GB, free: 4.801 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001426/1.156, allocations: 362.5 kB / 1.211 GB, free: 4.441 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/1.157, allocations: 103.4 kB / 1.211 GB, free: 4.34 MB / 0.823 GB Notification: Performance of SimCode: time 6.62e-07/1.157, allocations: 3.938 kB / 1.211 GB, free: 4.336 MB / 0.823 GB Notification: Performance of Templates: time 0.04031/1.197, allocations: 26.4 MB / 1.237 GB, free: 10.2 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches