Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 108.9 kB / 16.27 MB, free: 6.414 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.002063/0.002063, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.473/1.473, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 469.8 MB / 0.743 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.02 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.364, allocations: 159.1 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.6725/1.037, allocations: 32.6 MB / 1.096 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01876/1.055, allocations: 10.26 MB / 1.106 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00483/1.06, allocations: 145.9 kB / 1.107 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0108/1.071, allocations: 3.721 MB / 1.11 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008089/1.079, allocations: 1.855 MB / 1.112 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007771/1.087, allocations: 2.126 MB / 1.114 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01671/1.104, allocations: 7.327 MB / 1.121 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01726/1.121, allocations: 9.484 MB / 1.131 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007662/1.129, allocations: 3.158 MB / 1.134 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008632/1.137, allocations: 3.483 MB / 1.137 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003163/1.141, allocations: 0.6453 MB / 1.138 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007382/1.148, allocations: 1.772 MB / 1.139 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.006391/1.154, allocations: 2.542 MB / 1.142 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.008583/1.163, allocations: 2.903 MB / 1.145 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01815/1.181, allocations: 10.04 MB / 1.155 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/1.181, allocations: 0 / 1.155 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.527e-06/1.181, allocations: 0 / 1.155 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004426/1.182, allocations: 0 / 1.155 GB, free: 8.676 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02133/1.203, allocations: 5.004 MB / 1.159 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.203, allocations: 13.97 kB / 1.159 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00834/1.212, allocations: 0.9521 MB / 1.16 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009079/1.221, allocations: 2.852 MB / 1.163 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004726/1.221, allocations: 353.8 kB / 1.163 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002635/1.224, allocations: 465.4 kB / 1.164 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02439/1.248, allocations: 7.673 MB / 1.171 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003096/1.249, allocations: 27.72 kB / 1.171 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002277/1.251, allocations: 208 kB / 1.172 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004948/1.251, allocations: 309 kB / 1.172 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/1.266, allocations: 5.71 MB / 1.178 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05226/1.319, allocations: 35.09 MB / 1.212 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/1.322, allocations: 2.146 MB / 1.214 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/1.324, allocations: 1.268 MB / 1.215 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.284e-05/1.324, allocations: 17.25 kB / 1.215 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.324, allocations: 47.88 kB / 1.215 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=133): time 3.727e-06/1.324, allocations: 0 / 1.215 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=136): time 0.01633/1.341, allocations: 7.092 MB / 1.222 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/1.341, allocations: 64.72 kB / 1.222 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003005/1.344, allocations: 1.484 MB / 1.224 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/1.344, allocations: 45.7 kB / 1.224 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.346, allocations: 2.008 MB / 1.226 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005778/1.346, allocations: 489 kB / 1.226 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006565/1.347, allocations: 347.2 kB / 1.226 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.347, allocations: 309.1 kB / 1.227 GB, free: 336 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.349, allocations: 0.9096 MB / 1.228 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/1.351, allocations: 1.593 MB / 1.229 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/1.355, allocations: 2.737 MB / 1.232 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.608e-05/1.355, allocations: 11.94 kB / 1.232 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007553/1.363, allocations: 3.53 MB / 1.235 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/1.363, allocations: 16 kB / 1.235 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-05/1.363, allocations: 23.94 kB / 1.235 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/1.366, allocations: 0.9155 MB / 1.236 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.367, allocations: 347.4 kB / 1.237 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02721/1.394, allocations: 23.11 MB / 1.259 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/1.397, allocations: 104 kB / 1.259 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004458/1.397, allocations: 84 kB / 1.259 GB, free: 12.57 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.004272/1.401, allocations: 1.615 MB / 1.261 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/1.402, allocations: 213.5 kB / 1.261 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006435/1.409, allocations: 2.99 MB / 1.264 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.409, allocations: 12 kB / 1.264 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.336e-05/1.409, allocations: 8 kB / 1.264 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/1.409, allocations: 7.969 kB / 1.264 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/1.427, allocations: 7.336 MB / 1.271 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/1.427, allocations: 4 kB / 1.271 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/1.428, allocations: 180.3 kB / 1.271 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/1.43, allocations: 0.8336 MB / 1.272 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.431, allocations: 24 kB / 1.272 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/1.455, allocations: 21.96 MB / 1.294 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.455, allocations: 7.938 kB / 1.294 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006689/1.461, allocations: 3.019 MB / 1.297 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.463, allocations: 454.5 kB / 1.297 GB, free: 3.766 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007298/1.464, allocations: 39.88 kB / 1.297 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.465, allocations: 71.91 kB / 1.297 GB, free: 3.656 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/1.466, allocations: 128.7 kB / 1.297 GB, free: 3.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.466, allocations: 39.94 kB / 1.297 GB, free: 3.492 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002087/1.468, allocations: 0.9756 MB / 1.298 GB, free: 2.492 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.468, allocations: 0 / 1.298 GB, free: 2.492 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004403/1.472, allocations: 0.793 MB / 1.299 GB, free: 1.699 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003604/1.473, allocations: 139.1 kB / 1.299 GB, free: 1.555 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008454/1.481, allocations: 4.652 MB / 1.304 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.481, allocations: 0 / 1.304 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004458/1.486, allocations: 2.733 MB / 1.306 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004764/1.491, allocations: 0.7348 MB / 1.307 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/1.511, allocations: 7.83 MB / 1.315 GB, free: 1.227 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006589/1.518, allocations: 3.187 MB / 1.318 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/1.518, allocations: 127.4 kB / 1.318 GB, free: 13.89 MB / 1.045 GB Notification: Performance of SimCode: time 1.483e-06/1.518, allocations: 0 / 1.318 GB, free: 13.89 MB / 1.045 GB Notification: Performance of Templates: time 1.115/2.633, allocations: 321.5 MB / 1.632 GB, free: 386.8 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches