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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009198/0.0009198, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001532/0.001532, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 3.391/3.391, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005803/0.0005807, allocations: 8 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8453/0.8459, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03633/0.8823, allocations: 28.02 MB / 1.05 GB, free: 3.938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02368/0.906, allocations: 12.75 MB / 1.062 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/0.9095, allocations: 123.2 kB / 1.062 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.9125, allocations: 0.6317 MB / 1.063 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00881/0.9214, allocations: 2.203 MB / 1.065 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005535/0.9269, allocations: 1.196 MB / 1.066 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01449/0.9414, allocations: 8.404 MB / 1.074 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01931/0.9608, allocations: 8.521 MB / 1.083 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007018/0.9679, allocations: 2.572 MB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006329/0.9742, allocations: 2.849 MB / 1.088 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001624/0.9759, allocations: 244 kB / 1.088 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.9796, allocations: 0.6984 MB / 1.089 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003863/0.9835, allocations: 1.909 MB / 1.091 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00278/0.9863, allocations: 0.968 MB / 1.092 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.9987, allocations: 7.726 MB / 1.099 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.9988, allocations: 0 / 1.099 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.218e-06/0.9988, allocations: 3.938 kB / 1.099 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003996/0.9992, allocations: 0 / 1.099 GB, free: 0.9414 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.01291/1.012, allocations: 4.208 MB / 1.103 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.012, allocations: 12.52 kB / 1.103 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007085/1.019, allocations: 1.001 MB / 1.104 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007523/1.027, allocations: 2.818 MB / 1.107 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/1.027, allocations: 312.5 kB / 1.108 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/1.029, allocations: 419.9 kB / 1.108 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/1.048, allocations: 6.756 MB / 1.115 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002617/1.049, allocations: 27.7 kB / 1.115 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/1.05, allocations: 184 kB / 1.115 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009807/1.051, allocations: 376 kB / 1.115 GB, free: 404 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/1.064, allocations: 5.087 MB / 1.12 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04215/1.106, allocations: 30.77 MB / 1.15 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/1.109, allocations: 1.379 MB / 1.151 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/1.111, allocations: 1.324 MB / 1.153 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/1.111, allocations: 17.25 kB / 1.153 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.984e-05/1.111, allocations: 55.86 kB / 1.153 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=130): time 5.249e-06/1.111, allocations: 0 / 1.153 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of matching and sorting (n=199): time 0.08175/1.193, allocations: 22.79 MB / 1.175 GB, free: 44 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/1.193, allocations: 73.41 kB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/1.196, allocations: 2.039 MB / 1.177 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.196, allocations: 57.7 kB / 1.177 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.198, allocations: 2.01 MB / 1.179 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007267/1.199, allocations: 0.6816 MB / 1.18 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/1.199, allocations: 48 kB / 1.18 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002669/1.199, allocations: 398.5 kB / 1.18 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/1.202, allocations: 1.422 MB / 1.182 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/1.204, allocations: 2.006 MB / 1.184 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/1.207, allocations: 1.728 MB / 1.185 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/1.207, allocations: 4 kB / 1.185 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01096/1.218, allocations: 5.626 MB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/1.218, allocations: 12 kB / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/1.218, allocations: 24.83 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006512/1.225, allocations: 2.072 MB / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.226, allocations: 375.4 kB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04034/1.267, allocations: 35.5 MB / 1.228 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/1.269, allocations: 131.8 kB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003484/1.269, allocations: 88 kB / 1.228 GB, free: 6.918 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002947/1.272, allocations: 1.508 MB / 1.23 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/1.273, allocations: 280.6 kB / 1.23 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.283, allocations: 5.196 MB / 1.235 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/1.283, allocations: 20 kB / 1.235 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-05/1.283, allocations: 16 kB / 1.235 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.283, allocations: 11.95 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.303, allocations: 9.67 MB / 1.244 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/1.303, allocations: 7.953 kB / 1.244 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/1.304, allocations: 219.6 kB / 1.245 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005749/1.31, allocations: 1.834 MB / 1.246 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004042/1.31, allocations: 40 kB / 1.246 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6644/1.974, allocations: 34.5 MB / 1.28 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-05/1.975, allocations: 11.31 kB / 1.28 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.985, allocations: 4.89 MB / 1.285 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/1.986, allocations: 0.6212 MB / 1.285 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/1.987, allocations: 40.97 kB / 1.286 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.988, allocations: 129.1 kB / 1.286 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007772/1.989, allocations: 196 kB / 1.286 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.989, allocations: 55.2 kB / 1.286 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002952/1.992, allocations: 1.358 MB / 1.287 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.992, allocations: 0 / 1.287 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00513/1.997, allocations: 1.045 MB / 1.288 GB, free: 178.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004477/1.998, allocations: 174.3 kB / 1.288 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00875/2.006, allocations: 6.253 MB / 1.295 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/2.006, allocations: 0 / 1.295 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005269/2.012, allocations: 4.407 MB / 1.299 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/2.016, allocations: 0.9139 MB / 1.3 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/2.029, allocations: 9.592 MB / 1.309 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003464/2.033, allocations: 3.12 MB / 1.312 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002568/2.035, allocations: 0.5229 MB / 1.313 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/2.036, allocations: 147 kB / 1.313 GB, free: 165 MB / 0.9981 GB Notification: Performance of SimCode: time 2.996e-06/2.036, allocations: 3.5 kB / 1.313 GB, free: 165 MB / 0.9981 GB Notification: Performance of Templates: time 0.07961/2.115, allocations: 55.59 MB / 1.367 GB, free: 114.9 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=480 -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