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.0008956/0.0008957, allocations: 92.62 kB / 16.02 MB, free: 80 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.001108/0.001108, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.211 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 2.793/2.793, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003683, allocations: 8 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7231, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03333/0.7565, allocations: 29.73 MB / 1.053 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.7792, allocations: 13.41 MB / 1.066 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005537/0.7848, allocations: 127.2 kB / 1.066 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.7889, allocations: 0.6512 MB / 1.067 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.009481/0.7984, allocations: 2.472 MB / 1.069 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005671/0.8041, allocations: 1.715 MB / 1.071 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01422/0.8184, allocations: 10.44 MB / 1.081 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01872/0.8371, allocations: 10.17 MB / 1.091 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006505/0.8437, allocations: 2.58 MB / 1.093 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005932/0.8497, allocations: 2.942 MB / 1.096 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.8512, allocations: 244 kB / 1.096 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/0.8553, allocations: 1.38 MB / 1.098 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003564/0.8589, allocations: 1.921 MB / 1.1 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00544/0.8643, allocations: 2.384 MB / 1.102 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.8755, allocations: 7.765 MB / 1.11 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.8756, allocations: 4 kB / 1.11 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.574e-06/0.8756, allocations: 3.938 kB / 1.11 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003818/0.876, allocations: 0 / 1.11 GB, free: 7.582 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.01273/0.8887, allocations: 4.158 MB / 1.114 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.8888, allocations: 15.98 kB / 1.114 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0069/0.8957, allocations: 0.9981 MB / 1.115 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007184/0.9029, allocations: 2.888 MB / 1.117 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/0.9034, allocations: 320.8 kB / 1.118 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.9053, allocations: 420 kB / 1.118 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.9221, allocations: 6.791 MB / 1.125 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/0.9224, allocations: 23.77 kB / 1.125 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.9235, allocations: 184 kB / 1.125 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009575/0.9245, allocations: 376 kB / 1.125 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.9358, allocations: 5.114 MB / 1.13 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04023/0.9761, allocations: 30.79 MB / 1.16 GB, free: 300 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.9785, allocations: 1.395 MB / 1.162 GB, free: 14.89 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.9804, allocations: 1.332 MB / 1.163 GB, free: 13.56 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.9805, allocations: 13.31 kB / 1.163 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.9806, allocations: 59.86 kB / 1.163 GB, free: 13.48 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 4.579e-06/0.9806, allocations: 0 / 1.163 GB, free: 13.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.08894/1.07, allocations: 22.79 MB / 1.185 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/1.07, allocations: 73.41 kB / 1.185 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/1.073, allocations: 2.066 MB / 1.187 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002916/1.073, allocations: 61.7 kB / 1.188 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.075, allocations: 2.006 MB / 1.189 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007809/1.076, allocations: 0.6777 MB / 1.19 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/1.076, allocations: 182.3 kB / 1.19 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.076, allocations: 305.1 kB / 1.191 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/1.079, allocations: 1.43 MB / 1.192 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/1.081, allocations: 2.013 MB / 1.194 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005305/1.087, allocations: 3.7 MB / 1.198 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.087, allocations: 8 kB / 1.198 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01215/1.099, allocations: 5.649 MB / 1.203 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/1.099, allocations: 12 kB / 1.203 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/1.099, allocations: 20 kB / 1.203 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007349/1.106, allocations: 2.088 MB / 1.205 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.108, allocations: 375.3 kB / 1.206 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03958/1.148, allocations: 35.54 MB / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/1.15, allocations: 127.9 kB / 1.24 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004309/1.151, allocations: 95.98 kB / 1.24 GB, free: 11.05 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.003497/1.154, allocations: 1.509 MB / 1.242 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007974/1.155, allocations: 284.7 kB / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.166, allocations: 5.211 MB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/1.166, allocations: 20 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.856e-05/1.166, allocations: 20 kB / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/1.167, allocations: 11.91 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5457/1.712, allocations: 9.674 MB / 1.257 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.712, allocations: 8.25 kB / 1.257 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/1.713, allocations: 218 kB / 1.257 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006418/1.72, allocations: 1.845 MB / 1.259 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/1.72, allocations: 44.3 kB / 1.259 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03181/1.752, allocations: 34.55 MB / 1.293 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.752, allocations: 15.72 kB / 1.293 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008885/1.761, allocations: 4.904 MB / 1.297 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.763, allocations: 0.6222 MB / 1.298 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/1.763, allocations: 35.81 kB / 1.298 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.765, allocations: 136.4 kB / 1.298 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008714/1.765, allocations: 187.7 kB / 1.298 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.766, allocations: 55.47 kB / 1.298 GB, free: 174 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001794/1.767, allocations: 1.391 MB / 1.3 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.767, allocations: 0 / 1.3 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003358/1.771, allocations: 1.044 MB / 1.301 GB, free: 173.4 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.0002939/1.771, allocations: 170.7 kB / 1.301 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008447/1.78, allocations: 6.267 MB / 1.307 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.78, allocations: 7.812 kB / 1.307 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005646/1.785, allocations: 4.399 MB / 1.311 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006018/1.791, allocations: 0.9123 MB / 1.312 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.804, allocations: 10.63 MB / 1.323 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002873/1.807, allocations: 3.177 MB / 1.326 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/1.808, allocations: 159.1 kB / 1.326 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.808, allocations: 11.94 kB / 1.326 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.9174/2.725, allocations: 464.1 MB / 1.779 GB, free: 391.8 MB / 1.232 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/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