Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.008359/0.008359, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001218/0.001218, allocations: 195.9 kB / 16.68 MB, free: 5.977 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.795/2.795, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3605, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008846/0.3694, allocations: 6.807 MB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005447/0.3749, allocations: 3.063 MB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005122/0.3754, allocations: 31.81 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.3781, allocations: 0.9524 MB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.38, allocations: 0.5206 MB / 1.178 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3814, allocations: 439 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.3831, allocations: 1.24 MB / 1.179 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.3843, allocations: 0.6661 MB / 1.18 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000722/0.385, allocations: 490.2 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.3857, allocations: 0.5098 MB / 1.181 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3858, allocations: 68 kB / 1.181 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007314/0.3865, allocations: 375.2 kB / 1.181 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.3868, allocations: 311.1 kB / 1.182 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004554/0.3873, allocations: 453.7 kB / 1.182 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3887, allocations: 1.23 MB / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3888, allocations: 0 / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3888, allocations: 0 / 1.183 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.87e-05/0.3888, allocations: 4 kB / 1.183 GB, free: 5.668 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001929/0.3907, allocations: 1.191 MB / 1.184 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.3908, allocations: 8.031 kB / 1.184 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.3925, allocations: 248 kB / 1.185 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.3936, allocations: 0.6042 MB / 1.185 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.3936, allocations: 57.67 kB / 1.185 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.3938, allocations: 68.34 kB / 1.185 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3955, allocations: 1.081 MB / 1.186 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.3956, allocations: 3.938 kB / 1.186 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/0.3957, allocations: 31.98 kB / 1.187 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/0.3959, allocations: 85.25 kB / 1.187 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.3971, allocations: 0.7504 MB / 1.187 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005508/0.4026, allocations: 5.882 MB / 1.193 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4036, allocations: 0.5617 MB / 1.194 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.4041, allocations: 326 kB / 1.194 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.4041, allocations: 12.42 kB / 1.194 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4042, allocations: 39 kB / 1.194 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/0.4042, allocations: 0 / 1.194 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.003794/0.408, allocations: 2.003 MB / 1.196 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.408, allocations: 55.84 kB / 1.196 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/0.4087, allocations: 0.5665 MB / 1.197 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.4087, allocations: 37.7 kB / 1.197 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.409, allocations: 424 kB / 1.197 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.4091, allocations: 182.5 kB / 1.197 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.4093, allocations: 126.6 kB / 1.197 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4095, allocations: 378.7 kB / 1.198 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.4099, allocations: 269.8 kB / 1.198 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.4105, allocations: 497 kB / 1.198 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/0.4115, allocations: 0.8133 MB / 1.199 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4115, allocations: 4 kB / 1.199 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001788/0.4133, allocations: 1.083 MB / 1.2 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4133, allocations: 14.22 kB / 1.2 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.4133, allocations: 8 kB / 1.2 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008534/0.4142, allocations: 279.1 kB / 1.201 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.4147, allocations: 127.7 kB / 1.201 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006713/0.4214, allocations: 7.142 MB / 1.208 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.422, allocations: 39.95 kB / 1.208 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.4221, allocations: 32 kB / 1.208 GB, free: 11.13 MB / 0.9669 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003605/0.4225, allocations: 257.4 kB / 1.208 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4226, allocations: 71.58 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.4242, allocations: 0.8926 MB / 1.209 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4242, allocations: 8 kB / 1.209 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.4243, allocations: 4 kB / 1.209 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4243, allocations: 3.984 kB / 1.209 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.4268, allocations: 1.721 MB / 1.211 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4268, allocations: 8 kB / 1.211 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.427, allocations: 59.89 kB / 1.211 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007495/0.4278, allocations: 267.2 kB / 1.211 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.4279, allocations: 8 kB / 1.211 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006844/0.4347, allocations: 7.14 MB / 1.218 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4347, allocations: 0 / 1.218 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.4363, allocations: 0.9839 MB / 1.219 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.4367, allocations: 188.6 kB / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.4368, allocations: 12 kB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.4371, allocations: 43.89 kB / 1.219 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4373, allocations: 35.89 kB / 1.219 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.4373, allocations: 19.94 kB / 1.219 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004864/0.4378, allocations: 395.1 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4378, allocations: 0 / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007953/0.4386, allocations: 224 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001609/0.4388, allocations: 119.1 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.4407, allocations: 1.275 MB / 1.221 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4407, allocations: 4.125 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.4419, allocations: 0.8931 MB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009732/0.4429, allocations: 231 kB / 1.222 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4451, allocations: 1.348 MB / 1.223 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.4457, allocations: 1.012 MB / 1.224 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.4461, allocations: 130 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4462, allocations: 39.44 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4462, allocations: 0 / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.0237/0.4699, allocations: 11.32 MB / 1.236 GB, free: 13.65 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches