Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007987/0.007987, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.001622/0.001622, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.12 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.907, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0168/0.9239, allocations: 14.79 MB / 1.222 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.9392, allocations: 10.36 MB / 1.232 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.9411, allocations: 59.62 kB / 1.232 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004627/0.9458, allocations: 1.684 MB / 1.234 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007187/0.953, allocations: 1.807 MB / 1.236 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.9556, allocations: 0.7562 MB / 1.236 GB, free: 88 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00487/0.9605, allocations: 2.753 MB / 1.239 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.963, allocations: 1.419 MB / 1.241 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.9658, allocations: 1.523 MB / 1.242 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.9683, allocations: 1.171 MB / 1.243 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003299/0.9686, allocations: 163.9 kB / 1.243 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.9703, allocations: 0.7838 MB / 1.244 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000598/0.9709, allocations: 0.5998 MB / 1.245 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.972, allocations: 0.9561 MB / 1.246 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.9755, allocations: 2.768 MB / 1.248 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9755, allocations: 0 / 1.248 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9755, allocations: 3.938 kB / 1.248 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.753e-05/0.9756, allocations: 4 kB / 1.248 GB, free: 3.879 MB / 0.9669 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.004065/0.9796, allocations: 2.166 MB / 1.25 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.9797, allocations: 8.031 kB / 1.25 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.9912, allocations: 2.105 MB / 1.253 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/0.9946, allocations: 1.311 MB / 1.254 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.9946, allocations: 82.69 kB / 1.254 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.995, allocations: 124 kB / 1.254 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/1.001, allocations: 2.674 MB / 1.257 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/1.001, allocations: 11.94 kB / 1.257 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/1.001, allocations: 47.98 kB / 1.257 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006775/1.002, allocations: 194.1 kB / 1.257 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007708/1.01, allocations: 2.795 MB / 1.26 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/1.025, allocations: 10.46 MB / 1.27 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006708/1.032, allocations: 2.34 MB / 1.272 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/1.035, allocations: 1.28 MB / 1.273 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.999e-05/1.035, allocations: 9 kB / 1.273 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/1.035, allocations: 47.5 kB / 1.273 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.955e-06/1.035, allocations: 4 kB / 1.273 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.06058/1.096, allocations: 16.48 MB / 1.289 GB, free: 8.688 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.096, allocations: 64.72 kB / 1.29 GB, free: 8.609 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/1.097, allocations: 1.184 MB / 1.291 GB, free: 7.414 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002462/1.098, allocations: 49.7 kB / 1.291 GB, free: 7.359 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000525/1.098, allocations: 0.7437 MB / 1.291 GB, free: 6.609 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00052/1.099, allocations: 0.5159 MB / 1.292 GB, free: 6.086 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005597/1.099, allocations: 287.4 kB / 1.292 GB, free: 5.801 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.099, allocations: 313 kB / 1.293 GB, free: 5.492 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/1.103, allocations: 1.503 MB / 1.294 GB, free: 3.988 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003857/1.107, allocations: 1.788 MB / 1.296 GB, free: 2.105 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007614/1.115, allocations: 3.366 MB / 1.299 GB, free: 14.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.115, allocations: 4 kB / 1.299 GB, free: 14.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01396/1.129, allocations: 5.277 MB / 1.304 GB, free: 9.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.129, allocations: 8 kB / 1.304 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.129, allocations: 8 kB / 1.304 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006923/1.136, allocations: 1.882 MB / 1.306 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.138, allocations: 419.3 kB / 1.306 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02956/1.167, allocations: 24.13 MB / 1.33 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/1.17, allocations: 303.5 kB / 1.33 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/1.171, allocations: 67.95 kB / 1.33 GB, free: 13.38 MB / 1.061 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.0008571/1.171, allocations: 469.5 kB / 1.331 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/1.172, allocations: 177.9 kB / 1.331 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/1.186, allocations: 5.32 MB / 1.336 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.186, allocations: 12 kB / 1.336 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.927e-05/1.186, allocations: 20 kB / 1.336 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/1.186, allocations: 7.969 kB / 1.336 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/1.203, allocations: 7.43 MB / 1.343 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.203, allocations: 7.984 kB / 1.343 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/1.205, allocations: 347.7 kB / 1.344 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006068/1.211, allocations: 1.712 MB / 1.345 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/1.212, allocations: 39.97 kB / 1.346 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02744/1.239, allocations: 23.32 MB / 1.368 GB, free: 5.219 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.239, allocations: 7.969 kB / 1.368 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/1.252, allocations: 4.891 MB / 1.373 GB, free: 240 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.253, allocations: 495 kB / 1.374 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/1.254, allocations: 31.98 kB / 1.374 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/1.256, allocations: 311.5 kB / 1.374 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006225/1.257, allocations: 157 kB / 1.374 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.257, allocations: 51.97 kB / 1.374 GB, free: 15.18 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001235/1.258, allocations: 0.7899 MB / 1.375 GB, free: 14.39 MB / 1.107 GB Notification: Performance of sort global known variables: time 2e-07/1.258, allocations: 0 / 1.375 GB, free: 14.39 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002671/1.261, allocations: 0.6562 MB / 1.375 GB, free: 13.74 MB / 1.107 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.0003784/1.261, allocations: 139.2 kB / 1.376 GB, free: 13.59 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.273, allocations: 5.144 MB / 1.381 GB, free: 8.344 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.273, allocations: 0 / 1.381 GB, free: 8.344 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.007426/1.281, allocations: 3.351 MB / 1.384 GB, free: 4.891 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.284, allocations: 0.5632 MB / 1.384 GB, free: 4.348 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.294, allocations: 4.27 MB / 1.389 GB, free: 24 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.296, allocations: 1.568 MB / 1.39 GB, free: 14.41 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001523/1.297, allocations: 382.4 kB / 1.391 GB, free: 14.03 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/1.298, allocations: 111.4 kB / 1.391 GB, free: 13.92 MB / 1.123 GB Notification: Performance of SimCode: time 6.91e-07/1.298, allocations: 0 / 1.391 GB, free: 13.92 MB / 1.123 GB Notification: Performance of Templates: time 0.07103/1.369, allocations: 46.38 MB / 1.436 GB, free: 4 kB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches