Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 161.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.79/2.79, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.753e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009886/0.009913, allocations: 6.485 MB / 0.7927 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005789/0.0157, allocations: 3.027 MB / 0.7957 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.01615, allocations: 39.62 kB / 0.7957 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.01897, allocations: 0.957 MB / 0.7966 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.02042, allocations: 0.5365 MB / 0.7972 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.02164, allocations: 447.1 kB / 0.7976 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001645/0.02329, allocations: 1.271 MB / 0.7988 GB, free: 80 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.02432, allocations: 0.5333 MB / 0.7993 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009909/0.02531, allocations: 0.6624 MB / 0.8 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.02607, allocations: 479.5 kB / 0.8004 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.02619, allocations: 68 kB / 0.8005 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.02688, allocations: 348.7 kB / 0.8008 GB, free: 14 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.02724, allocations: 331 kB / 0.8012 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.02766, allocations: 315.2 kB / 0.8015 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.02925, allocations: 1.25 MB / 0.8027 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.02926, allocations: 1 kB / 0.8027 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.222e-06/0.02926, allocations: 0 / 0.8027 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.02927, allocations: 0 / 0.8027 GB, free: 12.12 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002188/0.03146, allocations: 1.103 MB / 0.8038 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.0315, allocations: 12.53 kB / 0.8038 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.03325, allocations: 345.7 kB / 0.8041 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.03431, allocations: 0.5828 MB / 0.8047 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.03436, allocations: 45.67 kB / 0.8047 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.0345, allocations: 72.3 kB / 0.8048 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.03645, allocations: 1.331 MB / 0.8061 GB, free: 8.422 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.03648, allocations: 8.125 kB / 0.8061 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.03668, allocations: 36.36 kB / 0.8061 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/0.03685, allocations: 85.19 kB / 0.8062 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.03818, allocations: 0.7514 MB / 0.8069 GB, free: 7.547 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00572/0.0439, allocations: 4.52 MB / 0.8114 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.045, allocations: 0.5185 MB / 0.8119 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.0455, allocations: 282.2 kB / 0.8121 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.04554, allocations: 12.5 kB / 0.8121 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.04558, allocations: 39.84 kB / 0.8122 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 1.914e-06/0.04558, allocations: 0 / 0.8122 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.004287/0.04987, allocations: 1.698 MB / 0.8138 GB, free: 300 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.04993, allocations: 59.91 kB / 0.8139 GB, free: 228 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007248/0.05065, allocations: 0.5145 MB / 0.8144 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.0507, allocations: 33.7 kB / 0.8144 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.05107, allocations: 427.7 kB / 0.8148 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.05126, allocations: 186.4 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.0515, allocations: 118.6 kB / 0.8151 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002656/0.05177, allocations: 370.8 kB / 0.8155 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.05227, allocations: 281.8 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.05296, allocations: 488.9 kB / 0.8162 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.0542, allocations: 0.8086 MB / 0.817 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.0542, allocations: 8 kB / 0.817 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002127/0.05633, allocations: 1.105 MB / 0.8181 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.05635, allocations: 8 kB / 0.8181 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.05637, allocations: 8 kB / 0.8181 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.05797, allocations: 379.3 kB / 0.8185 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.05849, allocations: 127.8 kB / 0.8186 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008332/0.06683, allocations: 6.597 MB / 0.825 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.06742, allocations: 39.95 kB / 0.8251 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/0.06748, allocations: 35.88 kB / 0.8251 GB, free: 4.062 MB / 0.7761 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004163/0.0679, allocations: 253.7 kB / 0.8253 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.06807, allocations: 83.58 kB / 0.8254 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.06991, allocations: 0.8779 MB / 0.8263 GB, free: 2.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.06992, allocations: 4 kB / 0.8263 GB, free: 2.816 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.06993, allocations: 8 kB / 0.8263 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.06993, allocations: 3.984 kB / 0.8263 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.07311, allocations: 1.521 MB / 0.8278 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.07312, allocations: 8.125 kB / 0.8278 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.0734, allocations: 63.95 kB / 0.8279 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.07492, allocations: 359.4 kB / 0.8282 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.07497, allocations: 16 kB / 0.8282 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008493/0.08347, allocations: 6.602 MB / 0.8347 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.08348, allocations: 4.031 kB / 0.8347 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.08546, allocations: 0.9893 MB / 0.8356 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.0858, allocations: 107.6 kB / 0.8357 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.08593, allocations: 16.02 kB / 0.8357 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.08633, allocations: 31.97 kB / 0.8358 GB, free: 8.566 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.08647, allocations: 51.84 kB / 0.8358 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.0865, allocations: 8 kB / 0.8358 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005072/0.08701, allocations: 346.9 kB / 0.8362 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.08701, allocations: 0 / 0.8362 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009143/0.08792, allocations: 220 kB / 0.8364 GB, free: 7.957 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001965/0.08812, allocations: 119.2 kB / 0.8365 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.09048, allocations: 1.231 MB / 0.8377 GB, free: 6.551 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.09049, allocations: 4 kB / 0.8377 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.092, allocations: 0.8653 MB / 0.8385 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.09306, allocations: 214.6 kB / 0.8387 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.09581, allocations: 1.365 MB / 0.8401 GB, free: 4.008 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.09641, allocations: 420.7 kB / 0.8405 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004162/0.09683, allocations: 117.5 kB / 0.8406 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.09698, allocations: 40.5 kB / 0.8406 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of SimCode: time 1.562e-06/0.09698, allocations: 0 / 0.8406 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of Templates: time 0.02429/0.1213, allocations: 11.35 MB / 0.8517 GB, free: 8.32 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.174748079036362]