Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.009494/0.009494, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.501/1.501, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.781/2.781, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004223, allocations: 12 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.786, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01606/0.8021, allocations: 13.42 MB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.8181, allocations: 9.265 MB / 1.045 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.821, allocations: 47.69 kB / 1.045 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.823, allocations: 277.8 kB / 1.045 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006534/0.8295, allocations: 1.419 MB / 1.047 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.8319, allocations: 0.6862 MB / 1.048 GB, free: 6.652 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004494/0.8364, allocations: 3.168 MB / 1.051 GB, free: 3.473 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00389/0.8403, allocations: 1.995 MB / 1.053 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.8421, allocations: 0.8596 MB / 1.053 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.8442, allocations: 1.066 MB / 1.054 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.8447, allocations: 72 kB / 1.055 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.8466, allocations: 0.8537 MB / 1.055 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008088/0.8475, allocations: 0.5139 MB / 1.056 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.849, allocations: 0.8408 MB / 1.057 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.8528, allocations: 2.666 MB / 1.059 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8528, allocations: 0 / 1.059 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.594e-06/0.8528, allocations: 4 kB / 1.059 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001063/0.8529, allocations: 0 / 1.059 GB, free: 10.52 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004604/0.8575, allocations: 1.808 MB / 1.061 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8576, allocations: 12.03 kB / 1.061 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.8701, allocations: 2.144 MB / 1.063 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.8735, allocations: 1.201 MB / 1.064 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.8736, allocations: 86.73 kB / 1.064 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005784/0.8742, allocations: 128 kB / 1.065 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007529/0.8818, allocations: 2.706 MB / 1.067 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-05/0.8819, allocations: 3.938 kB / 1.067 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.8821, allocations: 55.98 kB / 1.067 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006752/0.8828, allocations: 186.1 kB / 1.067 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008384/0.8912, allocations: 2.842 MB / 1.07 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/0.9077, allocations: 10.57 MB / 1.081 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007218/0.915, allocations: 2.581 MB / 1.083 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003358/0.9184, allocations: 1.307 MB / 1.084 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/0.9185, allocations: 9 kB / 1.084 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.9185, allocations: 43.56 kB / 1.084 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.9185, allocations: 0 / 1.084 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=131): time 0.04894/0.9675, allocations: 13.46 MB / 1.098 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.9676, allocations: 68.7 kB / 1.098 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.9695, allocations: 1.121 MB / 1.099 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002721/0.9698, allocations: 49.64 kB / 1.099 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006406/0.9704, allocations: 0.7117 MB / 1.099 GB, free: 252 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006489/0.9711, allocations: 453.5 kB / 1.1 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.9714, allocations: 113.7 kB / 1.1 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.9716, allocations: 357.9 kB / 1.1 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/0.9752, allocations: 1.362 MB / 1.102 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/0.979, allocations: 1.628 MB / 1.103 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007689/0.9867, allocations: 3.03 MB / 1.106 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.9867, allocations: 0 / 1.106 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01245/0.9992, allocations: 4.485 MB / 1.111 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.9993, allocations: 8.875 kB / 1.111 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.9993, allocations: 8 kB / 1.111 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/1.005, allocations: 1.423 MB / 1.112 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/1.007, allocations: 455.2 kB / 1.112 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/1.034, allocations: 24.56 MB / 1.136 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/1.038, allocations: 311.6 kB / 1.137 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/1.038, allocations: 63.97 kB / 1.137 GB, free: 7.961 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001452/1.04, allocations: 439.3 kB / 1.137 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006493/1.04, allocations: 162 kB / 1.137 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.053, allocations: 4.508 MB / 1.142 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/1.053, allocations: 12 kB / 1.142 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.718e-05/1.053, allocations: 12 kB / 1.142 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.053, allocations: 4.172 kB / 1.142 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.07, allocations: 6.825 MB / 1.148 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.07, allocations: 12 kB / 1.148 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/1.072, allocations: 387.4 kB / 1.149 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004882/1.076, allocations: 1.307 MB / 1.15 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/1.077, allocations: 39.97 kB / 1.15 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/1.101, allocations: 23.53 MB / 1.173 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.521e-05/1.101, allocations: 8 kB / 1.173 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.113, allocations: 4.247 MB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.114, allocations: 462.9 kB / 1.178 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/1.114, allocations: 27.98 kB / 1.178 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/1.117, allocations: 311.5 kB / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006168/1.118, allocations: 128.7 kB / 1.178 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.118, allocations: 47.97 kB / 1.178 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001251/1.119, allocations: 0.7526 MB / 1.179 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.81e-07/1.119, allocations: 0 / 1.179 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002414/1.121, allocations: 0.5742 MB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003733/1.122, allocations: 141.2 kB / 1.18 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.134, allocations: 5.142 MB / 1.185 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.134, allocations: 4 kB / 1.185 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.007589/1.141, allocations: 3.515 MB / 1.188 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/1.145, allocations: 0.5139 MB / 1.189 GB, free: 432 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/1.155, allocations: 4.678 MB / 1.193 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.157, allocations: 1.473 MB / 1.195 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002026/1.159, allocations: 429.6 kB / 1.195 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/1.16, allocations: 115.4 kB / 1.195 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of SimCode: time 1.262e-06/1.16, allocations: 0 / 1.195 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of Templates: time 0.06635/1.226, allocations: 37.05 MB / 1.231 GB, free: 5.012 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches