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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006036/0.006041, allocations: 104.4 kB / 15.73 MB, free: 6.473 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.001452/0.001452, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3141, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03264/0.3468, allocations: 30.78 MB / 1.238 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6442/0.9911, allocations: 13.56 MB / 1.251 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004083/0.9952, allocations: 146 kB / 1.251 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007853/1.003, allocations: 3.205 MB / 1.254 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008414/1.012, allocations: 2.762 MB / 1.257 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005368/1.017, allocations: 2.008 MB / 1.259 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009896/1.027, allocations: 7.639 MB / 1.266 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01318/1.04, allocations: 8.238 MB / 1.274 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007601/1.048, allocations: 3.459 MB / 1.278 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00869/1.056, allocations: 3.39 MB / 1.281 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002391/1.059, allocations: 0.5993 MB / 1.282 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005149/1.064, allocations: 1.493 MB / 1.283 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004434/1.068, allocations: 2.367 MB / 1.286 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006969/1.075, allocations: 2.881 MB / 1.288 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01762/1.093, allocations: 9.46 MB / 1.298 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.093, allocations: 0 / 1.298 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.054e-06/1.093, allocations: 0 / 1.298 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003616/1.094, allocations: 1.734 kB / 1.298 GB, free: 1.938 MB / 0.9981 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.01934/1.113, allocations: 5.141 MB / 1.303 GB, free: 15.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.113, allocations: 10.03 kB / 1.303 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/1.12, allocations: 1.001 MB / 1.304 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00853/1.128, allocations: 3.073 MB / 1.307 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/1.129, allocations: 312.1 kB / 1.307 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/1.131, allocations: 425.2 kB / 1.307 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/1.146, allocations: 6.79 MB / 1.314 GB, free: 9.758 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/1.146, allocations: 24 kB / 1.314 GB, free: 9.742 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005671/1.147, allocations: 181.3 kB / 1.314 GB, free: 9.617 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008539/1.148, allocations: 373.2 kB / 1.314 GB, free: 9.508 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00978/1.158, allocations: 5.118 MB / 1.319 GB, free: 6.863 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03911/1.197, allocations: 30.52 MB / 1.349 GB, free: 10.92 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/1.199, allocations: 1.388 MB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/1.2, allocations: 1.326 MB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.339e-05/1.2, allocations: 17.84 kB / 1.352 GB, free: 9.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.2, allocations: 58.45 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of pre-optimization done (n=130): time 3.457e-06/1.2, allocations: 0 / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=199): time 0.08166/1.282, allocations: 23.08 MB / 1.375 GB, free: 5.266 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/1.282, allocations: 73.41 kB / 1.375 GB, free: 5.184 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/1.285, allocations: 2.066 MB / 1.377 GB, free: 3.102 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/1.285, allocations: 61.69 kB / 1.377 GB, free: 3.035 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.286, allocations: 2.001 MB / 1.379 GB, free: 1.016 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006288/1.287, allocations: 0.6807 MB / 1.379 GB, free: 348 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007339/1.288, allocations: 408.5 kB / 1.38 GB, free: 15.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/1.288, allocations: 305.1 kB / 1.38 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/1.29, allocations: 1.433 MB / 1.381 GB, free: 14.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/1.292, allocations: 2.012 MB / 1.383 GB, free: 11.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/1.297, allocations: 3.693 MB / 1.387 GB, free: 8.012 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.297, allocations: 8 kB / 1.387 GB, free: 8.004 MB / 1.076 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01091/1.308, allocations: 5.657 MB / 1.392 GB, free: 2.281 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/1.308, allocations: 13.56 kB / 1.392 GB, free: 2.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/1.308, allocations: 20 kB / 1.392 GB, free: 2.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006665/1.315, allocations: 2.093 MB / 1.395 GB, free: 112 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/1.316, allocations: 371.4 kB / 1.395 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03786/1.354, allocations: 38.43 MB / 1.432 GB, free: 6.832 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/1.357, allocations: 131.9 kB / 1.433 GB, free: 6.703 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/1.357, allocations: 92 kB / 1.433 GB, free: 6.613 MB / 1.123 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.002753/1.36, allocations: 1.508 MB / 1.434 GB, free: 5.094 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/1.36, allocations: 276.7 kB / 1.434 GB, free: 4.82 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.371, allocations: 5.217 MB / 1.439 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.371, allocations: 23.94 kB / 1.439 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-05/1.371, allocations: 16 kB / 1.44 GB, free: 15.49 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/1.371, allocations: 11.95 kB / 1.44 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.389, allocations: 9.683 MB / 1.449 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.389, allocations: 4 kB / 1.449 GB, free: 5.625 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/1.39, allocations: 215.6 kB / 1.449 GB, free: 5.414 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005987/1.396, allocations: 1.841 MB / 1.451 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/1.396, allocations: 40 kB / 1.451 GB, free: 3.484 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03646/1.433, allocations: 37.44 MB / 1.488 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/1.433, allocations: 15.88 kB / 1.488 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009611/1.443, allocations: 4.912 MB / 1.492 GB, free: 6.484 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.444, allocations: 0.6147 MB / 1.493 GB, free: 5.848 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/1.445, allocations: 39.98 kB / 1.493 GB, free: 5.809 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.446, allocations: 135.8 kB / 1.493 GB, free: 5.676 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/1.447, allocations: 189.5 kB / 1.493 GB, free: 5.492 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.447, allocations: 56 kB / 1.493 GB, free: 5.438 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001947/1.449, allocations: 1.382 MB / 1.495 GB, free: 4.047 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/1.449, allocations: 0 / 1.495 GB, free: 4.047 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00364/1.453, allocations: 1.051 MB / 1.496 GB, free: 2.996 MB / 1.186 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.000362/1.453, allocations: 163 kB / 1.496 GB, free: 2.828 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.463, allocations: 6.295 MB / 1.502 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.463, allocations: 4 kB / 1.502 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007007/1.47, allocations: 4.392 MB / 1.506 GB, free: 7.684 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004495/1.475, allocations: 0.9873 MB / 1.507 GB, free: 6.727 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.489, allocations: 8.05 MB / 1.515 GB, free: 14.61 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003383/1.493, allocations: 3.128 MB / 1.518 GB, free: 11.44 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001824/1.495, allocations: 0.5198 MB / 1.519 GB, free: 10.92 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/1.495, allocations: 147.4 kB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of SimCode: time 1.173e-06/1.495, allocations: 4 kB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of Templates: time 0.09491/1.59, allocations: 58.5 MB / 1.576 GB, free: 1.238 MB / 1.264 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