Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.001199/0.001199, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001576/0.002775, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001077/0.001077, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002531, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9063/0.9063, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0871/0.9934, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.856/1.856, allocations: 378.2 MB / 0.6076 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5386/2.395, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.361e-05, allocations: 9.062 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004049/0.004062, allocations: 4.876 MB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.006349, allocations: 1.767 MB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.006608, allocations: 39.62 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.007045, allocations: 239.1 kB / 0.7361 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.007577, allocations: 0.5018 MB / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.008085, allocations: 373.4 kB / 0.7369 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008617/0.008947, allocations: 1.354 MB / 0.7382 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.009447, allocations: 0.5354 MB / 0.7388 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.01004, allocations: 0.7351 MB / 0.7395 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.01051, allocations: 0.5259 MB / 0.74 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.01057, allocations: 64 kB / 0.7401 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.01078, allocations: 140.9 kB / 0.7402 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.01096, allocations: 307.1 kB / 0.7405 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.01115, allocations: 260.2 kB / 0.7407 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.01167, allocations: 0.6812 MB / 0.7414 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.01168, allocations: 0.7188 kB / 0.7414 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.01168, allocations: 0 / 0.7414 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.0117, allocations: 0.5312 kB / 0.7414 GB, free: 8.188 MB / 0.7136 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.001188/0.01289, allocations: 1.228 MB / 0.7426 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.01292, allocations: 8.75 kB / 0.7426 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007163/0.01364, allocations: 342.7 kB / 0.7429 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.01411, allocations: 0.4995 MB / 0.7434 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.01414, allocations: 53.67 kB / 0.7435 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.01421, allocations: 64.36 kB / 0.7435 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.01481, allocations: 0.9524 MB / 0.7445 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.01483, allocations: 4.125 kB / 0.7445 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.01487, allocations: 38.8 kB / 0.7445 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.835e-05/0.01496, allocations: 89.19 kB / 0.7446 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.01523, allocations: 256.2 kB / 0.7448 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.01734, allocations: 3.924 MB / 0.7487 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.0177, allocations: 278.2 kB / 0.7489 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.0178, allocations: 96.73 kB / 0.749 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.01784, allocations: 12.53 kB / 0.749 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.01786, allocations: 39.06 kB / 0.7491 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 1.443e-06/0.01786, allocations: 0 / 0.7491 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001353/0.01921, allocations: 0.81 MB / 0.7499 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.01924, allocations: 55.91 kB / 0.7499 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.01948, allocations: 470.9 kB / 0.7504 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.01951, allocations: 40.73 kB / 0.7504 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.01964, allocations: 384.7 kB / 0.7508 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.01972, allocations: 170.5 kB / 0.7509 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01983, allocations: 126.5 kB / 0.7511 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.01992, allocations: 370.7 kB / 0.7514 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-05/0.02, allocations: 69.97 kB / 0.7515 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.02017, allocations: 301.5 kB / 0.7518 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.02047, allocations: 445 kB / 0.7522 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02047, allocations: 4 kB / 0.7522 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005743/0.02105, allocations: 0.5535 MB / 0.7527 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.02106, allocations: 16.91 kB / 0.7528 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.02107, allocations: 8 kB / 0.7528 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.02167, allocations: 285.9 kB / 0.753 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.02191, allocations: 129.6 kB / 0.7532 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.02464, allocations: 5.32 MB / 0.7584 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.02482, allocations: 20 kB / 0.7584 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.02485, allocations: 28.8 kB / 0.7584 GB, free: 5.762 MB / 0.7292 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.0001275/0.02498, allocations: 153.5 kB / 0.7585 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.02504, allocations: 64.95 kB / 0.7586 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.02554, allocations: 452.4 kB / 0.759 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02555, allocations: 5.062 kB / 0.759 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.02555, allocations: 7.938 kB / 0.7591 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.02555, allocations: 5.141 kB / 0.7591 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000875/0.02643, allocations: 0.8746 MB / 0.7599 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02643, allocations: 1.062 kB / 0.7599 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.02656, allocations: 55.91 kB / 0.76 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.02666, allocations: 88.47 kB / 0.76 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/0.0272, allocations: 270.1 kB / 0.7603 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.02722, allocations: 15.98 kB / 0.7603 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.02982, allocations: 5.299 MB / 0.7655 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.02983, allocations: 5.125 kB / 0.7655 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.03033, allocations: 0.579 MB / 0.7661 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.03038, allocations: 8.562 kB / 0.7661 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.03051, allocations: 12.69 kB / 0.7661 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.03057, allocations: 47.8 kB / 0.7661 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.03059, allocations: 12.91 kB / 0.7661 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001219/0.03071, allocations: 208.4 kB / 0.7663 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-08/0.03071, allocations: 0 / 0.7663 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004181/0.03113, allocations: 224.7 kB / 0.7666 GB, free: 12.88 MB / 0.7448 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.0001054/0.03123, allocations: 98.42 kB / 0.7667 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007269/0.03196, allocations: 0.9002 MB / 0.7675 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.007e-05/0.03198, allocations: 16.48 kB / 0.7675 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.03244, allocations: 0.7112 MB / 0.7682 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.03293, allocations: 251.5 kB / 0.7685 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/0.03805, allocations: 1.309 MB / 0.7698 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.03818, allocations: 211.3 kB / 0.77 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.03837, allocations: 72.42 kB / 0.77 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.03871, allocations: 205.8 kB / 0.7702 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.03871, allocations: 3.938 kB / 0.7702 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.01325/0.05195, allocations: 12.5 MB / 0.7824 GB, free: 12.73 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1534055368974805]