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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.852 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.001001/0.001001, allocations: 179.4 kB / 316.3 MB, free: 3.223 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.688/1.688, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001081/0.001081, allocations: 98.41 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.101e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2188, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7025/0.9214, allocations: 175.8 MB / 1.057 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.9218, allocations: 94.81 kB / 1.057 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06975/0.9915, allocations: 28.51 MB / 1.085 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9916, allocations: 0 / 1.085 GB, free: 4.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.656e-05/0.9916, allocations: 11.94 kB / 1.085 GB, free: 4.508 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001189/0.9928, allocations: 0.6897 MB / 1.086 GB, free: 3.801 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9929, allocations: 12.02 kB / 1.086 GB, free: 3.789 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.9954, allocations: 0.5611 MB / 1.086 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/0.9962, allocations: 477 kB / 1.087 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.9962, allocations: 12 kB / 1.087 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.9963, allocations: 19.91 kB / 1.087 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006908/0.997, allocations: 464.2 kB / 1.087 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.9978, allocations: 0.5515 MB / 1.088 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.9978, allocations: 3.938 kB / 1.088 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.9979, allocations: 0 / 1.088 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.9979, allocations: 20.77 kB / 1.088 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/1.002, allocations: 2.774 MB / 1.09 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/1.002, allocations: 344.9 kB / 1.091 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/1.003, allocations: 163.2 kB / 1.091 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.003, allocations: 88.73 kB / 1.091 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.003, allocations: 30.56 kB / 1.091 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/1.003, allocations: 0 / 1.091 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.004148/1.007, allocations: 1.534 MB / 1.092 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/1.007, allocations: 81.11 kB / 1.092 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/1.007, allocations: 327.9 kB / 1.093 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/1.007, allocations: 25.7 kB / 1.093 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.008, allocations: 237.5 kB / 1.093 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/1.008, allocations: 82.06 kB / 1.093 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/1.008, allocations: 0 / 1.093 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.008, allocations: 344.4 kB / 1.093 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/1.008, allocations: 247.6 kB / 1.094 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/1.009, allocations: 318.4 kB / 1.094 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/1.009, allocations: 294.4 kB / 1.094 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.009, allocations: 0 / 1.094 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002657/1.012, allocations: 1.056 MB / 1.095 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003151/1.012, allocations: 0.798 MB / 1.096 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.012, allocations: 0 / 1.096 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/1.014, allocations: 477.4 kB / 1.097 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/1.015, allocations: 131.5 kB / 1.097 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003504/1.018, allocations: 3.011 MB / 1.1 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/1.019, allocations: 111.9 kB / 1.1 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/1.019, allocations: 15.98 kB / 1.1 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.019, allocations: 4 kB / 1.1 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007768/1.02, allocations: 461 kB / 1.1 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.02, allocations: 7.984 kB / 1.1 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-06/1.02, allocations: 7.938 kB / 1.1 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/1.021, allocations: 156 kB / 1.1 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/1.021, allocations: 0 / 1.1 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/1.021, allocations: 99.28 kB / 1.1 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/1.021, allocations: 12 kB / 1.1 GB, free: 6.363 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001431/1.021, allocations: 120 kB / 1.101 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/1.021, allocations: 35.53 kB / 1.101 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/1.024, allocations: 1.101 MB / 1.102 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.024, allocations: 4 kB / 1.102 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/1.024, allocations: 0 / 1.102 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/1.024, allocations: 3.984 kB / 1.102 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/1.028, allocations: 1.736 MB / 1.103 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.028, allocations: 0 / 1.103 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/1.028, allocations: 83.41 kB / 1.103 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/1.03, allocations: 0.6129 MB / 1.104 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/1.031, allocations: 3.984 kB / 1.104 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004838/1.035, allocations: 4.203 MB / 1.108 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.035, allocations: 3.938 kB / 1.108 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/1.038, allocations: 1.165 MB / 1.109 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/1.038, allocations: 168.4 kB / 1.109 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/1.038, allocations: 4 kB / 1.109 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/1.039, allocations: 107.8 kB / 1.11 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.039, allocations: 27.33 kB / 1.11 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/1.039, allocations: 11.56 kB / 1.11 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003336/1.04, allocations: 263.8 kB / 1.11 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.51e-07/1.04, allocations: 0 / 1.11 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008883/1.04, allocations: 191 kB / 1.11 GB, free: 13.67 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003677/1.041, allocations: 166.6 kB / 1.11 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.043, allocations: 0.9577 MB / 1.111 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.043, allocations: 8.062 kB / 1.111 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000837/1.043, allocations: 0.557 MB / 1.112 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/1.044, allocations: 113.6 kB / 1.112 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/1.045, allocations: 0.74 MB / 1.113 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/1.046, allocations: 0.913 MB / 1.113 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006802/1.047, allocations: 223 kB / 1.114 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/1.047, allocations: 30.36 kB / 1.114 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/1.047, allocations: 0 / 1.114 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.01537/1.062, allocations: 10.17 MB / 1.124 GB, free: 332 kB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches