Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01002/0.01002, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001785/0.001785, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.577/2.577, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.12 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9886/0.9898, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04363/1.034, allocations: 35.13 MB / 1.201 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02091/1.054, allocations: 9.929 MB / 1.211 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005557/1.06, allocations: 147.2 kB / 1.211 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01108/1.071, allocations: 3.819 MB / 1.214 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008238/1.08, allocations: 2.146 MB / 1.217 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006567/1.086, allocations: 1.951 MB / 1.218 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01376/1.1, allocations: 7.99 MB / 1.226 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01722/1.117, allocations: 9.541 MB / 1.236 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007896/1.125, allocations: 3.424 MB / 1.239 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008221/1.133, allocations: 3.738 MB / 1.243 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002873/1.136, allocations: 0.6797 MB / 1.243 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005384/1.142, allocations: 1.44 MB / 1.245 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.005632/1.147, allocations: 2.62 MB / 1.247 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.008228/1.156, allocations: 3.108 MB / 1.25 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01781/1.173, allocations: 10.41 MB / 1.26 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/1.173, allocations: 4 kB / 1.26 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.495e-06/1.173, allocations: 0 / 1.26 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000449/1.174, allocations: 0 / 1.26 GB, free: 3.348 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0183/1.192, allocations: 5.538 MB / 1.266 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.192, allocations: 12.92 kB / 1.266 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006634/1.199, allocations: 0.9929 MB / 1.267 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009035/1.208, allocations: 3.192 MB / 1.27 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004236/1.209, allocations: 361.9 kB / 1.27 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002257/1.211, allocations: 468.3 kB / 1.271 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/1.231, allocations: 7.906 MB / 1.278 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/1.231, allocations: 19.88 kB / 1.278 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001641/1.233, allocations: 208 kB / 1.279 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000622/1.234, allocations: 369.1 kB / 1.279 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/1.247, allocations: 5.933 MB / 1.285 GB, free: 9.859 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04753/1.295, allocations: 36.01 MB / 1.32 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/1.299, allocations: 2.131 MB / 1.322 GB, free: 488 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/1.301, allocations: 1.484 MB / 1.324 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/1.301, allocations: 17.31 kB / 1.324 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/1.301, allocations: 59.81 kB / 1.324 GB, free: 14.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=157): time 6.332e-06/1.301, allocations: 3.984 kB / 1.324 GB, free: 14.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=160): time 0.01483/1.316, allocations: 7.606 MB / 1.331 GB, free: 7.031 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/1.316, allocations: 64.72 kB / 1.331 GB, free: 6.957 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/1.319, allocations: 1.868 MB / 1.333 GB, free: 5.062 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/1.32, allocations: 53.7 kB / 1.333 GB, free: 5.004 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/1.321, allocations: 2.184 MB / 1.335 GB, free: 2.801 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/1.322, allocations: 0.5927 MB / 1.336 GB, free: 2.203 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006716/1.322, allocations: 404 kB / 1.336 GB, free: 1.801 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.322, allocations: 305.1 kB / 1.336 GB, free: 1.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/1.324, allocations: 1.062 MB / 1.337 GB, free: 444 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/1.326, allocations: 1.768 MB / 1.339 GB, free: 14.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/1.33, allocations: 3.041 MB / 1.342 GB, free: 10.99 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/1.33, allocations: 8 kB / 1.342 GB, free: 10.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006576/1.337, allocations: 3.938 MB / 1.346 GB, free: 6.996 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/1.337, allocations: 16 kB / 1.346 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/1.337, allocations: 20 kB / 1.346 GB, free: 6.961 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/1.339, allocations: 0.9238 MB / 1.347 GB, free: 6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.341, allocations: 427.2 kB / 1.347 GB, free: 5.582 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/1.363, allocations: 22.78 MB / 1.37 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/1.365, allocations: 123.9 kB / 1.37 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/1.366, allocations: 96 kB / 1.37 GB, free: 12.9 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003265/1.369, allocations: 1.645 MB / 1.371 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008186/1.37, allocations: 266.4 kB / 1.372 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006125/1.376, allocations: 3.271 MB / 1.375 GB, free: 7.664 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.376, allocations: 16 kB / 1.375 GB, free: 7.648 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-05/1.376, allocations: 8 kB / 1.375 GB, free: 7.641 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.376, allocations: 11.97 kB / 1.375 GB, free: 7.629 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/1.391, allocations: 7.549 MB / 1.382 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.391, allocations: 4 kB / 1.382 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/1.392, allocations: 219.6 kB / 1.382 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/1.394, allocations: 0.8921 MB / 1.383 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/1.395, allocations: 28 kB / 1.383 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/1.416, allocations: 22.75 MB / 1.406 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/1.416, allocations: 4 kB / 1.406 GB, free: 6.309 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006641/1.423, allocations: 3.392 MB / 1.409 GB, free: 2.801 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.425, allocations: 0.5461 MB / 1.409 GB, free: 2.234 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/1.425, allocations: 31.98 kB / 1.409 GB, free: 2.203 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.426, allocations: 95.83 kB / 1.409 GB, free: 2.109 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/1.427, allocations: 144.9 kB / 1.41 GB, free: 1.969 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.427, allocations: 44 kB / 1.41 GB, free: 1.926 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001759/1.429, allocations: 1.225 MB / 1.411 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/1.429, allocations: 0 / 1.411 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003195/1.432, allocations: 0.9063 MB / 1.412 GB, free: 15.78 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002971/1.432, allocations: 159.9 kB / 1.412 GB, free: 15.62 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006955/1.439, allocations: 4.439 MB / 1.416 GB, free: 11.03 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.439, allocations: 0 / 1.416 GB, free: 11.03 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004325/1.443, allocations: 3.004 MB / 1.419 GB, free: 7.867 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/1.447, allocations: 0.822 MB / 1.42 GB, free: 7.062 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.461, allocations: 7.708 MB / 1.428 GB, free: 15.26 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003871/1.465, allocations: 3.205 MB / 1.431 GB, free: 12.02 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001885/1.467, allocations: 0.5254 MB / 1.431 GB, free: 11.49 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/1.468, allocations: 143.4 kB / 1.431 GB, free: 11.36 MB / 1.17 GB Notification: Performance of SimCode: time 1.162e-06/1.468, allocations: 0 / 1.431 GB, free: 11.36 MB / 1.17 GB Notification: Performance of Templates: time 0.0758/1.543, allocations: 41.63 MB / 1.472 GB, free: 2.277 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches