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.001222/0.001222, allocations: 110.4 kB / 16.41 MB, free: 6.508 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.001138/0.001138, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.15 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.457/2.457, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.84 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9164, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01725/0.9337, allocations: 14.07 MB / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.9477, allocations: 9.38 MB / 1.19 GB, free: 12.3 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.9495, allocations: 59.62 kB / 1.19 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.9543, allocations: 1.677 MB / 1.192 GB, free: 10.56 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.9592, allocations: 1.577 MB / 1.193 GB, free: 8.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.9614, allocations: 0.7573 MB / 1.194 GB, free: 8.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003756/0.9652, allocations: 2.514 MB / 1.197 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.9673, allocations: 1.422 MB / 1.198 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.9693, allocations: 1.071 MB / 1.199 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.9712, allocations: 1.144 MB / 1.2 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.9715, allocations: 164 kB / 1.2 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.973, allocations: 0.7955 MB / 1.201 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.9737, allocations: 0.6076 MB / 1.202 GB, free: 472 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009997/0.9747, allocations: 0.9407 MB / 1.203 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.978, allocations: 2.759 MB / 1.205 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.978, allocations: 4 kB / 1.205 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.635e-06/0.978, allocations: 0 / 1.205 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.978, allocations: 0 / 1.205 GB, free: 12.75 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004019/0.982, allocations: 2.135 MB / 1.207 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.9821, allocations: 8.922 kB / 1.207 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.9928, allocations: 2.081 MB / 1.209 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.9961, allocations: 1.29 MB / 1.211 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.9962, allocations: 90.73 kB / 1.211 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.9965, allocations: 128 kB / 1.211 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/1.002, allocations: 2.675 MB / 1.214 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.002, allocations: 4 kB / 1.214 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/1.002, allocations: 51.98 kB / 1.214 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000593/1.003, allocations: 186.1 kB / 1.214 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007178/1.01, allocations: 2.799 MB / 1.216 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/1.025, allocations: 10.46 MB / 1.227 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006336/1.032, allocations: 2.531 MB / 1.229 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/1.034, allocations: 1.292 MB / 1.23 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/1.035, allocations: 12.98 kB / 1.23 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/1.035, allocations: 43.56 kB / 1.23 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=89): time 3.377e-06/1.035, allocations: 0 / 1.23 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.04476/1.079, allocations: 13.35 MB / 1.244 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/1.08, allocations: 64.72 kB / 1.244 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/1.081, allocations: 1.121 MB / 1.245 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002637/1.082, allocations: 53.7 kB / 1.245 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005735/1.082, allocations: 0.7078 MB / 1.245 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005279/1.083, allocations: 453.4 kB / 1.246 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004954/1.083, allocations: 263.4 kB / 1.246 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.083, allocations: 369.8 kB / 1.246 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/1.087, allocations: 1.335 MB / 1.248 GB, free: 60 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/1.09, allocations: 1.604 MB / 1.249 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006586/1.097, allocations: 2.994 MB / 1.252 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.097, allocations: 4 kB / 1.252 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01133/1.108, allocations: 4.438 MB / 1.257 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.108, allocations: 8 kB / 1.257 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.108, allocations: 8 kB / 1.257 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005402/1.113, allocations: 1.436 MB / 1.258 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/1.116, allocations: 435.2 kB / 1.258 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/1.144, allocations: 26.68 MB / 1.284 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.146, allocations: 299.5 kB / 1.285 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/1.147, allocations: 67.89 kB / 1.285 GB, free: 7.98 MB / 1.014 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.0009002/1.147, allocations: 438.6 kB / 1.285 GB, free: 7.543 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/1.148, allocations: 162.1 kB / 1.285 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.159, allocations: 4.453 MB / 1.29 GB, free: 2.875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.159, allocations: 12 kB / 1.29 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/1.159, allocations: 12 kB / 1.29 GB, free: 2.852 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.159, allocations: 7.969 kB / 1.29 GB, free: 2.844 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/1.175, allocations: 6.779 MB / 1.296 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.175, allocations: 4 kB / 1.296 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.177, allocations: 379.7 kB / 1.297 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004926/1.182, allocations: 1.31 MB / 1.298 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/1.182, allocations: 35.97 kB / 1.298 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02723/1.209, allocations: 25.5 MB / 1.323 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.209, allocations: 4 kB / 1.323 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/1.22, allocations: 4.21 MB / 1.327 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.222, allocations: 451 kB / 1.328 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/1.222, allocations: 27.98 kB / 1.328 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.224, allocations: 303.5 kB / 1.328 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000464/1.224, allocations: 132.7 kB / 1.328 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.225, allocations: 43.97 kB / 1.328 GB, free: 9.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001102/1.226, allocations: 0.7526 MB / 1.329 GB, free: 8.781 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.226, allocations: 0 / 1.329 GB, free: 8.781 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00206/1.228, allocations: 0.5703 MB / 1.329 GB, free: 8.211 MB / 1.061 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.0002825/1.228, allocations: 146.4 kB / 1.329 GB, free: 8.062 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01087/1.239, allocations: 5.138 MB / 1.334 GB, free: 2.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.239, allocations: 0 / 1.334 GB, free: 2.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.007012/1.246, allocations: 3.484 MB / 1.338 GB, free: 15.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/1.249, allocations: 0.5551 MB / 1.338 GB, free: 14.56 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008859/1.257, allocations: 4.106 MB / 1.342 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.259, allocations: 1.477 MB / 1.344 GB, free: 8.891 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/1.259, allocations: 131.3 kB / 1.344 GB, free: 8.766 MB / 1.076 GB Notification: Performance of SimCode: time 1.202e-06/1.259, allocations: 0 / 1.344 GB, free: 8.766 MB / 1.076 GB Notification: Performance of Templates: time 0.109/1.368, allocations: 112.6 MB / 1.454 GB, free: 8.16 MB / 1.186 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/jenkins1/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