Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 187.9 kB / 17.2 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 65.02 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3281, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03845/0.3666, allocations: 30.77 MB / 1.048 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02443/0.3911, allocations: 13.6 MB / 1.061 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003988/0.3951, allocations: 147.2 kB / 1.061 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.4056, allocations: 3.2 MB / 1.065 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009701/0.4153, allocations: 2.649 MB / 1.067 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007043/0.4224, allocations: 2.016 MB / 1.069 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.5659/0.9883, allocations: 7.609 MB / 1.077 GB, free: 19.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01248/1.001, allocations: 8.284 MB / 1.085 GB, free: 17.56 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007456/1.008, allocations: 3.396 MB / 1.088 GB, free: 17.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008243/1.017, allocations: 3.387 MB / 1.091 GB, free: 17.01 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003036/1.02, allocations: 0.5951 MB / 1.092 GB, free: 17.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006629/1.026, allocations: 1.495 MB / 1.093 GB, free: 17.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005603/1.032, allocations: 2.368 MB / 1.096 GB, free: 16.83 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008412/1.04, allocations: 2.876 MB / 1.098 GB, free: 16.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01649/1.057, allocations: 9.395 MB / 1.108 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/1.057, allocations: 3.891 kB / 1.108 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.154e-06/1.057, allocations: 1.344 kB / 1.108 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003694/1.057, allocations: 0 / 1.108 GB, free: 15.25 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02107/1.078, allocations: 5.138 MB / 1.113 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.079, allocations: 14.53 kB / 1.113 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008031/1.087, allocations: 0.9983 MB / 1.114 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008212/1.095, allocations: 2.889 MB / 1.116 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/1.095, allocations: 323.1 kB / 1.117 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002758/1.098, allocations: 418.7 kB / 1.117 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/1.119, allocations: 6.789 MB / 1.124 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/1.119, allocations: 24.8 kB / 1.124 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/1.12, allocations: 184 kB / 1.124 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009244/1.121, allocations: 368.7 kB / 1.124 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/1.135, allocations: 5.118 MB / 1.129 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05176/1.187, allocations: 30.73 MB / 1.159 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/1.189, allocations: 1.39 MB / 1.161 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/1.191, allocations: 1.33 MB / 1.162 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/1.192, allocations: 11.56 kB / 1.162 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/1.192, allocations: 54.66 kB / 1.162 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=130): time 3.016e-06/1.192, allocations: 4 kB / 1.162 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of matching and sorting (n=199): time 0.09341/1.285, allocations: 23.08 MB / 1.185 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.285, allocations: 77.41 kB / 1.185 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003791/1.289, allocations: 2.062 MB / 1.187 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000467/1.289, allocations: 61.7 kB / 1.187 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.291, allocations: 2.009 MB / 1.189 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009574/1.292, allocations: 0.6809 MB / 1.189 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008068/1.293, allocations: 412.1 kB / 1.19 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.293, allocations: 305.1 kB / 1.19 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/1.295, allocations: 1.437 MB / 1.191 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002857/1.298, allocations: 2.009 MB / 1.193 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005442/1.304, allocations: 3.692 MB / 1.197 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/1.304, allocations: 4 kB / 1.197 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01234/1.316, allocations: 5.666 MB / 1.203 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/1.316, allocations: 15.19 kB / 1.203 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/1.316, allocations: 16 kB / 1.203 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007175/1.323, allocations: 2.104 MB / 1.205 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.325, allocations: 372.5 kB / 1.205 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04802/1.373, allocations: 38.45 MB / 1.243 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/1.377, allocations: 123.9 kB / 1.243 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000561/1.377, allocations: 91.98 kB / 1.243 GB, free: 6.566 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003854/1.381, allocations: 1.509 MB / 1.244 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009281/1.382, allocations: 284.6 kB / 1.245 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.394, allocations: 5.215 MB / 1.25 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/1.394, allocations: 23.94 kB / 1.25 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-05/1.394, allocations: 20 kB / 1.25 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/1.394, allocations: 7.969 kB / 1.25 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02292/1.417, allocations: 9.674 MB / 1.259 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.417, allocations: 4 kB / 1.259 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.418, allocations: 221.4 kB / 1.259 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006476/1.425, allocations: 1.857 MB / 1.261 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/1.425, allocations: 40 kB / 1.261 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04419/1.469, allocations: 37.47 MB / 1.298 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/1.469, allocations: 18.5 kB / 1.298 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.48, allocations: 4.906 MB / 1.303 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/1.482, allocations: 0.6148 MB / 1.303 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008952/1.483, allocations: 40 kB / 1.303 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.485, allocations: 128 kB / 1.303 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007079/1.486, allocations: 198.9 kB / 1.304 GB, free: 5.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.486, allocations: 60 kB / 1.304 GB, free: 5.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002881/1.489, allocations: 1.374 MB / 1.305 GB, free: 4.387 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.489, allocations: 0 / 1.305 GB, free: 4.387 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0047/1.494, allocations: 1.047 MB / 1.306 GB, free: 3.34 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004444/1.494, allocations: 172.8 kB / 1.306 GB, free: 3.176 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.508, allocations: 7.221 MB / 1.313 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.508, allocations: 0 / 1.313 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.007787/1.516, allocations: 4.403 MB / 1.317 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005793/1.521, allocations: 0.9925 MB / 1.318 GB, free: 6.258 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/1.541, allocations: 8.688 MB / 1.327 GB, free: 13.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005645/1.547, allocations: 3.179 MB / 1.33 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000772/1.548, allocations: 167.4 kB / 1.33 GB, free: 10.13 MB / 1.045 GB Notification: Performance of SimCode: time 2.264e-06/1.548, allocations: 0 / 1.33 GB, free: 10.13 MB / 1.045 GB Notification: Performance of Templates: time 0.9462/2.494, allocations: 464.7 MB / 1.784 GB, free: 239.1 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches