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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007068/0.007068, allocations: 99.73 kB / 15.73 MB, free: 5.555 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.001322/0.001322, allocations: 196 kB / 16.68 MB, free: 5.484 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.173/3.173, allocations: 472.6 MB / 0.7453 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.91 kB / 1.069 GB, free: 9.266 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.34, allocations: 159.9 MB / 1.226 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01756/0.3576, allocations: 14.8 MB / 1.24 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.3729, allocations: 10.35 MB / 1.25 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.6674/1.04, allocations: 57.3 kB / 1.25 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004314/1.045, allocations: 1.675 MB / 1.252 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005113/1.05, allocations: 1.818 MB / 1.254 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/1.052, allocations: 0.761 MB / 1.254 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003903/1.056, allocations: 2.749 MB / 1.257 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/1.058, allocations: 1.409 MB / 1.258 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/1.06, allocations: 1.504 MB / 1.26 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/1.062, allocations: 1.163 MB / 1.261 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003278/1.063, allocations: 159.1 kB / 1.261 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/1.064, allocations: 0.7885 MB / 1.262 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005911/1.065, allocations: 0.6053 MB / 1.263 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/1.066, allocations: 0.9536 MB / 1.263 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004132/1.07, allocations: 2.781 MB / 1.266 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.07, allocations: 0 / 1.266 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.07, allocations: 0 / 1.266 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001047/1.07, allocations: 0.9375 kB / 1.266 GB, free: 7.91 MB / 0.9981 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.005567/1.076, allocations: 2.23 MB / 1.268 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.076, allocations: 9.156 kB / 1.268 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/1.088, allocations: 2.114 MB / 1.27 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003614/1.092, allocations: 1.317 MB / 1.272 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/1.092, allocations: 88.3 kB / 1.272 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000445/1.093, allocations: 115 kB / 1.272 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00599/1.099, allocations: 2.674 MB / 1.275 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/1.099, allocations: 15.94 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/1.099, allocations: 52.58 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006835/1.1, allocations: 190.4 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008454/1.108, allocations: 2.79 MB / 1.277 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/1.125, allocations: 10.48 MB / 1.288 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007162/1.132, allocations: 2.331 MB / 1.29 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003601/1.136, allocations: 1.28 MB / 1.291 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/1.136, allocations: 12 kB / 1.291 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/1.136, allocations: 41.09 kB / 1.291 GB, free: 12.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 3.035e-06/1.136, allocations: 3.938 kB / 1.291 GB, free: 12.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=153): time 0.06297/1.199, allocations: 16.54 MB / 1.307 GB, free: 7.609 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.199, allocations: 68.41 kB / 1.308 GB, free: 7.543 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/1.202, allocations: 1.173 MB / 1.309 GB, free: 6.902 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003609/1.202, allocations: 51.73 kB / 1.309 GB, free: 6.852 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007337/1.203, allocations: 0.7536 MB / 1.309 GB, free: 6.184 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008675/1.204, allocations: 0.5454 MB / 1.31 GB, free: 5.711 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009095/1.205, allocations: 292.2 kB / 1.31 GB, free: 5.547 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.205, allocations: 306.4 kB / 1.311 GB, free: 5.246 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/1.209, allocations: 1.506 MB / 1.312 GB, free: 4.465 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004141/1.213, allocations: 1.778 MB / 1.314 GB, free: 3.371 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008039/1.221, allocations: 3.367 MB / 1.317 GB, free: 1.438 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.221, allocations: 4.219 kB / 1.317 GB, free: 1.438 MB / 1.014 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01453/1.236, allocations: 5.291 MB / 1.322 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.236, allocations: 8.219 kB / 1.322 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.236, allocations: 7.312 kB / 1.322 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007206/1.243, allocations: 1.873 MB / 1.324 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/1.245, allocations: 420.7 kB / 1.324 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03199/1.277, allocations: 24.15 MB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/1.28, allocations: 306.8 kB / 1.348 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005164/1.281, allocations: 69.55 kB / 1.348 GB, free: 10.05 MB / 1.045 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.001666/1.283, allocations: 460.8 kB / 1.349 GB, free: 9.723 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000846/1.284, allocations: 182 kB / 1.349 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.299, allocations: 5.335 MB / 1.354 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/1.299, allocations: 16 kB / 1.354 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-05/1.299, allocations: 16.47 kB / 1.354 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/1.299, allocations: 11.97 kB / 1.354 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.318, allocations: 7.424 MB / 1.362 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.319, allocations: 0 / 1.362 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.32, allocations: 355.7 kB / 1.362 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006395/1.327, allocations: 1.71 MB / 1.364 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/1.327, allocations: 39.97 kB / 1.364 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03022/1.357, allocations: 23.33 MB / 1.386 GB, free: 2.832 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.357, allocations: 4 kB / 1.386 GB, free: 2.828 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/1.371, allocations: 4.9 MB / 1.391 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.372, allocations: 0.4919 MB / 1.392 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006575/1.373, allocations: 35.98 kB / 1.392 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.375, allocations: 315.5 kB / 1.392 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/1.376, allocations: 145 kB / 1.392 GB, free: 12.84 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/1.376, allocations: 63.91 kB / 1.392 GB, free: 12.78 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001578/1.378, allocations: 0.7899 MB / 1.393 GB, free: 11.99 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.378, allocations: 0 / 1.393 GB, free: 11.99 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002981/1.381, allocations: 0.6523 MB / 1.394 GB, free: 11.34 MB / 1.092 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.0003623/1.381, allocations: 148.1 kB / 1.394 GB, free: 11.19 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.393, allocations: 5.156 MB / 1.399 GB, free: 5.934 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.393, allocations: 0 / 1.399 GB, free: 5.934 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007458/1.401, allocations: 3.362 MB / 1.402 GB, free: 2.473 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/1.404, allocations: 0.5642 MB / 1.403 GB, free: 1.926 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.416, allocations: 4.336 MB / 1.407 GB, free: 13.54 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/1.419, allocations: 1.572 MB / 1.408 GB, free: 11.93 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.002015/1.421, allocations: 386.4 kB / 1.409 GB, free: 11.55 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/1.421, allocations: 107.4 kB / 1.409 GB, free: 11.45 MB / 1.108 GB Notification: Performance of SimCode: time 1.452e-06/1.421, allocations: 0 / 1.409 GB, free: 11.45 MB / 1.108 GB Notification: Performance of Templates: time 0.07197/1.493, allocations: 45.37 MB / 1.453 GB, free: 14.61 MB / 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