Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001873/0.001873, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.605/2.605, allocations: 437.1 MB / 0.711 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 68.45 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3476, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01933/0.367, allocations: 14.78 MB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.3839, allocations: 10.35 MB / 1.043 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.3858, allocations: 59.62 kB / 1.043 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004709/0.3906, allocations: 1.688 MB / 1.044 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.3966, allocations: 1.817 MB / 1.046 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.3988, allocations: 0.7466 MB / 1.047 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004305/0.4031, allocations: 2.748 MB / 1.049 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.4053, allocations: 1.427 MB / 1.051 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.4079, allocations: 1.496 MB / 1.052 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.4098, allocations: 1.163 MB / 1.053 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.4102, allocations: 164 kB / 1.054 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.4119, allocations: 0.7877 MB / 1.054 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006859/0.4126, allocations: 0.6115 MB / 1.055 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.4138, allocations: 0.9523 MB / 1.056 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.4177, allocations: 2.722 MB / 1.059 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4177, allocations: 0 / 1.059 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4177, allocations: 0 / 1.059 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.08e-05/0.4177, allocations: 0 / 1.059 GB, free: 0.9258 MB / 0.8262 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.004425/0.4222, allocations: 2.17 MB / 1.061 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4222, allocations: 16.56 kB / 1.061 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.4348, allocations: 2.112 MB / 1.063 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.4379, allocations: 1.21 MB / 1.064 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.438, allocations: 86.69 kB / 1.064 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.4383, allocations: 124.1 kB / 1.064 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006193/0.4445, allocations: 2.67 MB / 1.067 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.4446, allocations: 11.84 kB / 1.067 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.4448, allocations: 59.97 kB / 1.067 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007349/0.4455, allocations: 190.1 kB / 1.067 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008312/0.4538, allocations: 2.795 MB / 1.07 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4774/0.9313, allocations: 10.5 MB / 1.08 GB, free: 55.67 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00703/0.9383, allocations: 2.337 MB / 1.082 GB, free: 55.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003513/0.9419, allocations: 1.272 MB / 1.083 GB, free: 54.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.819e-05/0.942, allocations: 9.719 kB / 1.083 GB, free: 54.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.942, allocations: 47.59 kB / 1.084 GB, free: 54.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 2.274e-06/0.942, allocations: 2.438 kB / 1.084 GB, free: 54.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=153): time 0.06514/1.007, allocations: 16.49 MB / 1.1 GB, free: 51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/1.007, allocations: 67.45 kB / 1.1 GB, free: 50.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/1.009, allocations: 1.178 MB / 1.101 GB, free: 50.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002471/1.009, allocations: 54.64 kB / 1.101 GB, free: 50.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/1.01, allocations: 0.7439 MB / 1.102 GB, free: 49.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/1.01, allocations: 0.5096 MB / 1.102 GB, free: 49.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005628/1.011, allocations: 288.5 kB / 1.102 GB, free: 49.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/1.011, allocations: 307.3 kB / 1.103 GB, free: 49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00376/1.014, allocations: 1.508 MB / 1.104 GB, free: 48.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003904/1.018, allocations: 1.783 MB / 1.106 GB, free: 47.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007426/1.026, allocations: 3.366 MB / 1.109 GB, free: 46.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.026, allocations: 2.312 kB / 1.109 GB, free: 46.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01345/1.039, allocations: 5.273 MB / 1.114 GB, free: 44.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.039, allocations: 9.656 kB / 1.114 GB, free: 44.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.039, allocations: 11.62 kB / 1.114 GB, free: 44.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006842/1.046, allocations: 1.9 MB / 1.116 GB, free: 43.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/1.048, allocations: 419.6 kB / 1.117 GB, free: 42.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02505/1.073, allocations: 24.15 MB / 1.14 GB, free: 23.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/1.076, allocations: 309 kB / 1.14 GB, free: 23.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/1.077, allocations: 67.3 kB / 1.141 GB, free: 23.56 MB / 0.8419 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008635/1.077, allocations: 467 kB / 1.141 GB, free: 23.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/1.078, allocations: 178.5 kB / 1.141 GB, free: 23.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.09, allocations: 5.315 MB / 1.146 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.09, allocations: 19.78 kB / 1.146 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.799e-05/1.09, allocations: 19.53 kB / 1.146 GB, free: 20.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.09, allocations: 7.969 kB / 1.146 GB, free: 20.03 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/1.105, allocations: 7.408 MB / 1.154 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.105, allocations: 7.375 kB / 1.154 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.107, allocations: 355.7 kB / 1.154 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005525/1.113, allocations: 1.728 MB / 1.156 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/1.113, allocations: 43.97 kB / 1.156 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02699/1.14, allocations: 23.32 MB / 1.178 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.14, allocations: 4 kB / 1.178 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.153, allocations: 4.891 MB / 1.183 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.154, allocations: 490.8 kB / 1.184 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/1.155, allocations: 35.97 kB / 1.184 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/1.157, allocations: 315.5 kB / 1.184 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/1.158, allocations: 156.9 kB / 1.184 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.158, allocations: 55.97 kB / 1.184 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001145/1.159, allocations: 0.7899 MB / 1.185 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/1.159, allocations: 0 / 1.185 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002228/1.161, allocations: 0.6562 MB / 1.186 GB, free: 10.74 MB / 0.8731 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003121/1.162, allocations: 139.1 kB / 1.186 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.175, allocations: 5.44 MB / 1.191 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.175, allocations: 0 / 1.191 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007746/1.182, allocations: 3.346 MB / 1.194 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.185, allocations: 0.5564 MB / 1.195 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.196, allocations: 4.45 MB / 1.199 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/1.198, allocations: 1.563 MB / 1.201 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006713/1.198, allocations: 131.3 kB / 1.201 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of SimCode: time 1.563e-06/1.198, allocations: 0 / 1.201 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of Templates: time 0.1048/1.303, allocations: 85.71 MB / 1.285 GB, free: 5.215 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches