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.006218/0.006218, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001257/0.001257, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 72.11 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8388/0.8414, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02214/0.8637, allocations: 14.79 MB / 1.222 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.8795, allocations: 10.35 MB / 1.232 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.8817, allocations: 59.56 kB / 1.232 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004827/0.8866, allocations: 1.689 MB / 1.234 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00633/0.893, allocations: 1.802 MB / 1.236 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.8955, allocations: 0.7679 MB / 1.236 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006421/0.9019, allocations: 2.738 MB / 1.239 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.9055, allocations: 1.419 MB / 1.241 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.9091, allocations: 1.523 MB / 1.242 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.9124, allocations: 1.164 MB / 1.243 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0008836/0.9133, allocations: 160 kB / 1.243 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.9162, allocations: 0.7877 MB / 1.244 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.9176, allocations: 0.6116 MB / 1.245 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.9204, allocations: 0.9599 MB / 1.246 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005486/0.9259, allocations: 2.765 MB / 1.248 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.9259, allocations: 0 / 1.248 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9259, allocations: 0 / 1.248 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.926, allocations: 0 / 1.248 GB, free: 3.844 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.005261/0.9312, allocations: 2.166 MB / 1.25 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.9313, allocations: 12.03 kB / 1.25 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.9478, allocations: 2.108 MB / 1.253 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.9522, allocations: 1.299 MB / 1.254 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.9524, allocations: 86.69 kB / 1.254 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007684/0.9532, allocations: 139.9 kB / 1.254 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008936/0.9622, allocations: 2.655 MB / 1.257 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.193e-05/0.9623, allocations: 15.86 kB / 1.257 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004872/0.9628, allocations: 55.97 kB / 1.257 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008677/0.9637, allocations: 194.1 kB / 1.257 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009763/0.9735, allocations: 2.791 MB / 1.26 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.9885, allocations: 10.45 MB / 1.27 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005648/0.9942, allocations: 2.344 MB / 1.272 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.997, allocations: 1.28 MB / 1.273 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.831e-05/0.9971, allocations: 16.98 kB / 1.273 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.9972, allocations: 47.5 kB / 1.273 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 2.725e-06/0.9972, allocations: 0 / 1.273 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.05906/1.056, allocations: 16.48 MB / 1.289 GB, free: 8.652 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/1.056, allocations: 68.72 kB / 1.29 GB, free: 8.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/1.058, allocations: 1.184 MB / 1.291 GB, free: 7.375 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/1.059, allocations: 53.7 kB / 1.291 GB, free: 7.316 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006014/1.059, allocations: 0.7398 MB / 1.291 GB, free: 6.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/1.06, allocations: 0.512 MB / 1.292 GB, free: 6.051 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006365/1.061, allocations: 291.4 kB / 1.292 GB, free: 5.762 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.061, allocations: 309.1 kB / 1.293 GB, free: 5.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00331/1.064, allocations: 1.507 MB / 1.294 GB, free: 3.949 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/1.068, allocations: 1.788 MB / 1.296 GB, free: 2.066 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006977/1.075, allocations: 3.365 MB / 1.299 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.075, allocations: 4 kB / 1.299 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01286/1.087, allocations: 5.273 MB / 1.304 GB, free: 9.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/1.087, allocations: 8 kB / 1.304 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.087, allocations: 8 kB / 1.304 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006868/1.094, allocations: 1.885 MB / 1.306 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/1.096, allocations: 415.3 kB / 1.306 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03185/1.128, allocations: 24.13 MB / 1.33 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/1.131, allocations: 307.6 kB / 1.33 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/1.131, allocations: 71.95 kB / 1.33 GB, free: 13.34 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.001235/1.133, allocations: 465.3 kB / 1.331 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/1.133, allocations: 177.9 kB / 1.331 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.147, allocations: 5.32 MB / 1.336 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-05/1.147, allocations: 16 kB / 1.336 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-05/1.147, allocations: 24 kB / 1.336 GB, free: 7.293 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/1.147, allocations: 7.969 kB / 1.336 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.165, allocations: 7.43 MB / 1.343 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.165, allocations: 4 kB / 1.343 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/1.166, allocations: 351.4 kB / 1.344 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006199/1.172, allocations: 1.709 MB / 1.345 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/1.173, allocations: 39.97 kB / 1.346 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02972/1.202, allocations: 23.31 MB / 1.368 GB, free: 5.184 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.203, allocations: 7.938 kB / 1.368 GB, free: 5.176 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.215, allocations: 4.887 MB / 1.373 GB, free: 208 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.216, allocations: 495 kB / 1.374 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/1.217, allocations: 31.98 kB / 1.374 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.219, allocations: 319.6 kB / 1.374 GB, free: 15.35 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006121/1.22, allocations: 153 kB / 1.374 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.22, allocations: 51.97 kB / 1.374 GB, free: 15.15 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00134/1.221, allocations: 0.7938 MB / 1.375 GB, free: 14.36 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/1.221, allocations: 0 / 1.375 GB, free: 14.36 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002688/1.224, allocations: 0.6562 MB / 1.375 GB, free: 13.7 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.0003924/1.224, allocations: 138 kB / 1.376 GB, free: 13.56 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.236, allocations: 5.144 MB / 1.381 GB, free: 8.309 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.236, allocations: 0 / 1.381 GB, free: 8.309 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.007105/1.243, allocations: 3.355 MB / 1.384 GB, free: 4.852 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.246, allocations: 0.5648 MB / 1.384 GB, free: 4.309 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009989/1.256, allocations: 4.281 MB / 1.389 GB, free: 15.98 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/1.258, allocations: 1.564 MB / 1.39 GB, free: 14.37 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001654/1.26, allocations: 378.4 kB / 1.391 GB, free: 13.99 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/1.26, allocations: 107.4 kB / 1.391 GB, free: 13.89 MB / 1.123 GB Notification: Performance of SimCode: time 1.082e-06/1.26, allocations: 4 kB / 1.391 GB, free: 13.88 MB / 1.123 GB Notification: Performance of Templates: time 0.0769/1.337, allocations: 45.37 MB / 1.435 GB, free: 0.9727 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