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.001719/0.001719, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.543/1.543, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.955/2.955, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.91 kB / 0.8692 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8849, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03916/0.9241, allocations: 30.77 MB / 1.047 GB, free: 3.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02418/0.9483, allocations: 13.58 MB / 1.061 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004047/0.9524, allocations: 147.2 kB / 1.061 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009242/0.9617, allocations: 3.207 MB / 1.064 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.9722, allocations: 2.653 MB / 1.066 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006861/0.9791, allocations: 2.01 MB / 1.068 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01292/0.992, allocations: 7.615 MB / 1.076 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/1.004, allocations: 8.28 MB / 1.084 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006602/1.011, allocations: 3.4 MB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006326/1.017, allocations: 3.379 MB / 1.091 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001958/1.019, allocations: 0.5977 MB / 1.091 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004398/1.023, allocations: 1.498 MB / 1.093 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003427/1.027, allocations: 2.362 MB / 1.095 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006464/1.033, allocations: 2.875 MB / 1.098 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/1.047, allocations: 9.406 MB / 1.107 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/1.047, allocations: 0 / 1.107 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/1.047, allocations: 3.938 kB / 1.107 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003355/1.047, allocations: 0 / 1.107 GB, free: 6.297 MB / 0.8575 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.02023/1.067, allocations: 5.14 MB / 1.112 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.493e-05/1.067, allocations: 15.97 kB / 1.112 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007674/1.075, allocations: 0.998 MB / 1.113 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008628/1.084, allocations: 2.888 MB / 1.116 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004267/1.084, allocations: 320.8 kB / 1.116 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/1.086, allocations: 424 kB / 1.116 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/1.104, allocations: 6.784 MB / 1.123 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002468/1.104, allocations: 23.78 kB / 1.123 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001354/1.105, allocations: 184 kB / 1.123 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001155/1.107, allocations: 372 kB / 1.124 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/1.119, allocations: 5.118 MB / 1.129 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05417/1.173, allocations: 30.73 MB / 1.159 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/1.176, allocations: 1.387 MB / 1.16 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/1.178, allocations: 1.332 MB / 1.161 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/1.178, allocations: 13.31 kB / 1.161 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/1.178, allocations: 55.8 kB / 1.161 GB, free: 11.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 3.426e-06/1.178, allocations: 0 / 1.161 GB, free: 11.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.0932/1.271, allocations: 23.07 MB / 1.184 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/1.271, allocations: 69.41 kB / 1.184 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/1.276, allocations: 2.062 MB / 1.186 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003512/1.276, allocations: 65.7 kB / 1.186 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/1.278, allocations: 2.007 MB / 1.188 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.279, allocations: 0.6855 MB / 1.189 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/1.28, allocations: 404.2 kB / 1.189 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.28, allocations: 305.1 kB / 1.189 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/1.283, allocations: 1.433 MB / 1.191 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/1.286, allocations: 2.01 MB / 1.193 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005485/1.291, allocations: 3.7 MB / 1.196 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.291, allocations: 8 kB / 1.196 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01217/1.304, allocations: 5.658 MB / 1.202 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.304, allocations: 12 kB / 1.202 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/1.304, allocations: 16 kB / 1.202 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007117/1.311, allocations: 2.099 MB / 1.204 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.313, allocations: 375.4 kB / 1.204 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04484/1.357, allocations: 38.46 MB / 1.242 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/1.36, allocations: 127.9 kB / 1.242 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/1.36, allocations: 88 kB / 1.242 GB, free: 5.281 MB / 0.9981 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.002762/1.363, allocations: 1.512 MB / 1.244 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/1.364, allocations: 276.7 kB / 1.244 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5245/1.888, allocations: 5.212 MB / 1.249 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/1.888, allocations: 23.42 kB / 1.249 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.254e-05/1.888, allocations: 18.56 kB / 1.249 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-05/1.888, allocations: 12.55 kB / 1.249 GB, free: 207.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/1.909, allocations: 9.673 MB / 1.258 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/1.909, allocations: 9.5 kB / 1.258 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/1.91, allocations: 217.1 kB / 1.259 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006975/1.917, allocations: 1.857 MB / 1.26 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003996/1.918, allocations: 40.62 kB / 1.26 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03223/1.95, allocations: 37.45 MB / 1.297 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.95, allocations: 14.08 kB / 1.297 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00909/1.959, allocations: 4.914 MB / 1.302 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.961, allocations: 0.6156 MB / 1.302 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007699/1.962, allocations: 50.8 kB / 1.303 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.964, allocations: 127.8 kB / 1.303 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007947/1.964, allocations: 200.7 kB / 1.303 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/1.965, allocations: 57.97 kB / 1.303 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002042/1.967, allocations: 1.378 MB / 1.304 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.967, allocations: 0 / 1.304 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003774/1.97, allocations: 1.047 MB / 1.305 GB, free: 171.3 MB / 0.9981 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.00037/1.971, allocations: 169.5 kB / 1.305 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.981, allocations: 7.212 MB / 1.312 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.981, allocations: 0 / 1.312 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005774/1.987, allocations: 4.402 MB / 1.317 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/1.992, allocations: 0.9832 MB / 1.318 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/2.005, allocations: 8.141 MB / 1.326 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002865/2.008, allocations: 3.127 MB / 1.329 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001915/2.009, allocations: 0.5237 MB / 1.329 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/2.01, allocations: 143.4 kB / 1.329 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.342e-06/2.01, allocations: 4 kB / 1.329 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.08808/2.098, allocations: 59.99 MB / 1.388 GB, free: 93.37 MB / 0.9981 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/jenkins/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