Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 177] 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.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_10_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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.88 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 160.7 MB / 1.214 GB, free: 1 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009213/0.3361, allocations: 6.911 MB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005381/0.3415, allocations: 3.106 MB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005069/0.342, allocations: 27.81 kB / 1.224 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.3446, allocations: 0.9685 MB / 1.225 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.3458, allocations: 0.5206 MB / 1.225 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3469, allocations: 442.8 kB / 1.226 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.3484, allocations: 1.236 MB / 1.227 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.3492, allocations: 0.5335 MB / 1.227 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.3499, allocations: 482.2 kB / 1.228 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.3506, allocations: 0.5448 MB / 1.228 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.3507, allocations: 68 kB / 1.229 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.3515, allocations: 383.2 kB / 1.229 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.3518, allocations: 319.1 kB / 1.229 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.3523, allocations: 453.7 kB / 1.23 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.3538, allocations: 1.226 MB / 1.231 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3538, allocations: 0 / 1.231 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3538, allocations: 0 / 1.231 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.3538, allocations: 7.938 kB / 1.231 GB, free: 15.75 MB / 0.9825 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.002002/0.3558, allocations: 1.195 MB / 1.232 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3558, allocations: 8.031 kB / 1.232 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.3574, allocations: 248 kB / 1.232 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.3583, allocations: 0.6081 MB / 1.233 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.3584, allocations: 53.67 kB / 1.233 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.3585, allocations: 64.36 kB / 1.233 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.3601, allocations: 1.081 MB / 1.234 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.3601, allocations: 7.922 kB / 1.234 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-05/0.3602, allocations: 35.98 kB / 1.234 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.3604, allocations: 85.25 kB / 1.234 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.3616, allocations: 0.7504 MB / 1.235 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006443/0.368, allocations: 5.882 MB / 1.241 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3691, allocations: 0.5163 MB / 1.241 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.3695, allocations: 290 kB / 1.241 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.3695, allocations: 4.438 kB / 1.241 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.3696, allocations: 39 kB / 1.241 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 5.26e-06/0.3696, allocations: 4 kB / 1.241 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.004262/0.3738, allocations: 1.987 MB / 1.243 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3739, allocations: 55.84 kB / 1.243 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.3746, allocations: 0.5665 MB / 1.244 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.3746, allocations: 33.7 kB / 1.244 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.375, allocations: 428 kB / 1.244 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.3751, allocations: 178.5 kB / 1.245 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.3753, allocations: 130.6 kB / 1.245 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3755, allocations: 374.7 kB / 1.245 GB, free: 376 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.376, allocations: 277.8 kB / 1.245 GB, free: 96 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.3766, allocations: 497 kB / 1.246 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3777, allocations: 0.8094 MB / 1.247 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3777, allocations: 4 kB / 1.247 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001914/0.3796, allocations: 1.076 MB / 1.248 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.3796, allocations: 13.81 kB / 1.248 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.3796, allocations: 8 kB / 1.248 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008968/0.3805, allocations: 279.2 kB / 1.248 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.381, allocations: 123.8 kB / 1.248 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007723/0.3887, allocations: 7.146 MB / 1.255 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.3895, allocations: 31.97 kB / 1.255 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/0.3895, allocations: 39.92 kB / 1.255 GB, free: 5.309 MB / 0.9981 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.000424/0.39, allocations: 257.5 kB / 1.255 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3901, allocations: 75.64 kB / 1.255 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.3919, allocations: 0.8769 MB / 1.256 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3919, allocations: 8 kB / 1.256 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.392, allocations: 192 / 1.256 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.392, allocations: 8 kB / 1.256 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.3949, allocations: 1.713 MB / 1.258 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3949, allocations: 0 / 1.258 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.3952, allocations: 67.83 kB / 1.258 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008234/0.396, allocations: 263.3 kB / 1.258 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.3961, allocations: 12 kB / 1.258 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6617/1.058, allocations: 7.128 MB / 1.265 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.058, allocations: 0.5938 kB / 1.265 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/1.059, allocations: 0.9782 MB / 1.266 GB, free: 43.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/1.06, allocations: 197.6 kB / 1.266 GB, free: 43.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/1.06, allocations: 16.41 kB / 1.266 GB, free: 43.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/1.06, allocations: 30.34 kB / 1.266 GB, free: 43.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.06, allocations: 49.64 kB / 1.266 GB, free: 43.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/1.06, allocations: 12.91 kB / 1.267 GB, free: 43.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004041/1.061, allocations: 390.5 kB / 1.267 GB, free: 43.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.061, allocations: 0 / 1.267 GB, free: 43.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000799/1.061, allocations: 225 kB / 1.267 GB, free: 43.4 MB / 0.9981 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.0001525/1.062, allocations: 118 kB / 1.267 GB, free: 43.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001781/1.063, allocations: 1.233 MB / 1.268 GB, free: 42.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.063, allocations: 0 / 1.268 GB, free: 42.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.064, allocations: 0.8578 MB / 1.269 GB, free: 42.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/1.065, allocations: 219.5 kB / 1.269 GB, free: 42.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/1.068, allocations: 1.413 MB / 1.271 GB, free: 41.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/1.068, allocations: 1.014 MB / 1.272 GB, free: 41.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/1.068, allocations: 49.12 kB / 1.272 GB, free: 41.09 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.068, allocations: 0 / 1.272 GB, free: 41.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.03594/1.104, allocations: 20.96 MB / 1.292 GB, free: 39.06 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.348705239128321]