Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001312/0.001312, 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.001406/0.001406, allocations: 193.9 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.7 MB / 0.7452 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 70.84 kB / 0.9121 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3534, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03397/0.3874, allocations: 30.76 MB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02215/0.4096, allocations: 13.6 MB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004215/0.4139, allocations: 143.2 kB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008865/0.4228, allocations: 3.184 MB / 1.115 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009077/0.4319, allocations: 2.661 MB / 1.117 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006038/0.438, allocations: 2.022 MB / 1.119 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.4491, allocations: 7.613 MB / 1.127 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.4598, allocations: 8.295 MB / 1.135 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006888/0.4668, allocations: 3.404 MB / 1.138 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006416/0.4732, allocations: 3.376 MB / 1.142 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.4753, allocations: 0.5938 MB / 1.142 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/0.48, allocations: 1.498 MB / 1.144 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002999/0.4831, allocations: 2.366 MB / 1.146 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004681/0.4878, allocations: 2.882 MB / 1.149 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.499, allocations: 9.391 MB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.499, allocations: 8 kB / 1.158 GB, free: 14.2 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.499, allocations: 0 / 1.158 GB, free: 14.2 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003245/0.4994, allocations: 0 / 1.158 GB, free: 14.2 MB / 0.92 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.01383/0.5132, allocations: 5.144 MB / 1.163 GB, free: 8.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5133, allocations: 8.031 kB / 1.163 GB, free: 8.973 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005983/0.5193, allocations: 0.9903 MB / 1.164 GB, free: 7.977 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006271/0.5256, allocations: 2.896 MB / 1.167 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.5258, allocations: 312.8 kB / 1.167 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.5269, allocations: 424 kB / 1.167 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.5395, allocations: 6.788 MB / 1.174 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.5397, allocations: 23.77 kB / 1.174 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/0.5401, allocations: 184 kB / 1.174 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008779/0.541, allocations: 372 kB / 1.175 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009265/0.5503, allocations: 5.114 MB / 1.18 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04556/0.5959, allocations: 30.74 MB / 1.21 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.5985, allocations: 1.395 MB / 1.211 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.6007, allocations: 1.329 MB / 1.212 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.6008, allocations: 13.31 kB / 1.212 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.636e-05/0.6009, allocations: 55.81 kB / 1.212 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 4.358e-06/0.6009, allocations: 0 / 1.212 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.09348/0.6944, allocations: 23.07 MB / 1.235 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.6945, allocations: 73.41 kB / 1.235 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/0.6989, allocations: 2.066 MB / 1.237 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004279/0.6994, allocations: 65.7 kB / 1.237 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.7012, allocations: 2.002 MB / 1.239 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009313/0.7022, allocations: 0.6777 MB / 1.24 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.7034, allocations: 412.2 kB / 1.24 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7035, allocations: 305.1 kB / 1.24 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.7058, allocations: 1.426 MB / 1.242 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.7085, allocations: 2.013 MB / 1.244 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5756/1.284, allocations: 3.687 MB / 1.247 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.775e-05/1.284, allocations: 6.969 kB / 1.247 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01324/1.298, allocations: 5.663 MB / 1.253 GB, free: 162 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.298, allocations: 13.03 kB / 1.253 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.298, allocations: 18.16 kB / 1.253 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006174/1.304, allocations: 2.103 MB / 1.255 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.305, allocations: 377 kB / 1.255 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03645/1.342, allocations: 38.46 MB / 1.293 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/1.345, allocations: 126.6 kB / 1.293 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/1.345, allocations: 89.61 kB / 1.293 GB, free: 130.8 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.003107/1.348, allocations: 1.507 MB / 1.294 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006932/1.349, allocations: 287 kB / 1.295 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.359, allocations: 5.217 MB / 1.3 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/1.359, allocations: 20.36 kB / 1.3 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.587e-05/1.36, allocations: 21.53 kB / 1.3 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.363e-05/1.36, allocations: 11.98 kB / 1.3 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/1.377, allocations: 9.661 MB / 1.309 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.377, allocations: 7.594 kB / 1.309 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/1.378, allocations: 222.4 kB / 1.31 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005634/1.384, allocations: 1.857 MB / 1.311 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/1.384, allocations: 41.72 kB / 1.311 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02927/1.413, allocations: 37.47 MB / 1.348 GB, free: 90.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.413, allocations: 9.609 kB / 1.348 GB, free: 90.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008347/1.422, allocations: 4.909 MB / 1.353 GB, free: 87.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.423, allocations: 0.6111 MB / 1.353 GB, free: 86.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004456/1.424, allocations: 50.59 kB / 1.353 GB, free: 86.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.425, allocations: 125.5 kB / 1.354 GB, free: 86.65 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007194/1.426, allocations: 196.2 kB / 1.354 GB, free: 86.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.426, allocations: 58.44 kB / 1.354 GB, free: 86.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001967/1.428, allocations: 1.372 MB / 1.355 GB, free: 85.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.428, allocations: 0 / 1.355 GB, free: 85.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004528/1.433, allocations: 1.046 MB / 1.356 GB, free: 85.54 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.0003241/1.433, allocations: 178.8 kB / 1.356 GB, free: 85.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.444, allocations: 7.222 MB / 1.363 GB, free: 77.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/1.444, allocations: 0 / 1.363 GB, free: 77.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006136/1.45, allocations: 4.401 MB / 1.368 GB, free: 73.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/1.455, allocations: 0.9972 MB / 1.369 GB, free: 72.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/1.47, allocations: 8.133 MB / 1.377 GB, free: 64.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006099/1.476, allocations: 3.128 MB / 1.38 GB, free: 61.05 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002813/1.479, allocations: 0.5199 MB / 1.38 GB, free: 60.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/1.48, allocations: 151.4 kB / 1.38 GB, free: 60.38 MB / 0.9981 GB Notification: Performance of SimCode: time 1.643e-06/1.48, allocations: 0 / 1.38 GB, free: 60.38 MB / 0.9981 GB Notification: Performance of Templates: time 0.08947/1.569, allocations: 59.99 MB / 1.439 GB, free: 1.262 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches