Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0008075/0.0008075, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.00185, 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.0007195/0.0007195, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009311/0.001651, 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.9185/0.9185, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09212/1.011, allocations: 53.65 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.84/1.84, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5058/2.346, allocations: 123.3 MB / 0.728 GB, free: 5.828 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_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.216e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005845/0.005867, allocations: 4.211 MB / 0.7334 GB, free: 356 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.00901, allocations: 1.605 MB / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.009338, allocations: 40.81 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.009941, allocations: 218.5 kB / 0.7353 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007985/0.01074, allocations: 469.7 kB / 0.7357 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.0114, allocations: 368.3 kB / 0.7361 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.01266, allocations: 1.21 MB / 0.7372 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007244/0.01338, allocations: 0.5197 MB / 0.7377 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008087/0.01419, allocations: 0.6712 MB / 0.7384 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.01487, allocations: 480.1 kB / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.01496, allocations: 63.94 kB / 0.7389 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.01525, allocations: 140.2 kB / 0.7391 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.01551, allocations: 284.2 kB / 0.7393 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.01578, allocations: 227.5 kB / 0.7395 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.01651, allocations: 0.6189 MB / 0.7401 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.986e-05/0.01653, allocations: 6 kB / 0.7401 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01654, allocations: 0 / 0.7401 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.671e-05/0.01656, allocations: 0 / 0.7401 GB, free: 9.473 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001405/0.01797, allocations: 1.089 MB / 0.7412 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.018, allocations: 8.031 kB / 0.7412 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.01911, allocations: 342.5 kB / 0.7415 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.01984, allocations: 0.4964 MB / 0.742 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.01988, allocations: 49.67 kB / 0.7421 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.01998, allocations: 64.36 kB / 0.7421 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.02081, allocations: 0.7816 MB / 0.7429 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.02084, allocations: 8.141 kB / 0.7429 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.0209, allocations: 39.05 kB / 0.7429 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.752e-05/0.02099, allocations: 65.22 kB / 0.743 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.0214, allocations: 259 kB / 0.7433 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.02479, allocations: 3.864 MB / 0.747 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.02516, allocations: 262 kB / 0.7473 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.02548, allocations: 219.9 kB / 0.7475 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.02551, allocations: 8.719 kB / 0.7475 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.02553, allocations: 35.72 kB / 0.7475 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=41): time 3.025e-06/0.02554, allocations: 0 / 0.7475 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.001706/0.02724, allocations: 0.8705 MB / 0.7484 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.02727, allocations: 59.39 kB / 0.7484 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.02751, allocations: 407 kB / 0.7488 GB, free: 212 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.02754, allocations: 33.7 kB / 0.7489 GB, free: 172 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.02768, allocations: 364.8 kB / 0.7492 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.02776, allocations: 154.7 kB / 0.7494 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.02786, allocations: 110.2 kB / 0.7495 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.02798, allocations: 370.6 kB / 0.7498 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.02805, allocations: 69.22 kB / 0.7499 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.02823, allocations: 273.6 kB / 0.7501 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.02854, allocations: 425 kB / 0.7505 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.02854, allocations: 4 kB / 0.7506 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006854/0.02923, allocations: 0.5549 MB / 0.7511 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.02925, allocations: 8 kB / 0.7511 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.02926, allocations: 13.09 kB / 0.7511 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.02986, allocations: 246.1 kB / 0.7513 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.03005, allocations: 99.84 kB / 0.7514 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.03335, allocations: 5.427 MB / 0.7567 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.03354, allocations: 16 kB / 0.7568 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.03357, allocations: 21.03 kB / 0.7568 GB, free: 7.469 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.03373, allocations: 158 kB / 0.7569 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.03378, allocations: 43.95 kB / 0.757 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.03435, allocations: 473.5 kB / 0.7574 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.03435, allocations: 4 kB / 0.7574 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.03436, allocations: 4 kB / 0.7574 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.03437, allocations: 4.547 kB / 0.7574 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.03541, allocations: 0.8774 MB / 0.7583 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.03541, allocations: 0 / 0.7583 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.333e-05/0.03549, allocations: 35.92 kB / 0.7583 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/0.03558, allocations: 76.36 kB / 0.7584 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.03605, allocations: 243.4 kB / 0.7586 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.03608, allocations: 12 kB / 0.7586 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.03897, allocations: 5.413 MB / 0.7639 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.03898, allocations: 0.9375 kB / 0.7639 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.03954, allocations: 0.5865 MB / 0.7645 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.03958, allocations: 19.88 kB / 0.7645 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.03969, allocations: 4.625 kB / 0.7645 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.03976, allocations: 47.86 kB / 0.7646 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.03978, allocations: 8.938 kB / 0.7646 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001081/0.03989, allocations: 168.4 kB / 0.7647 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-08/0.03989, allocations: 0 / 0.7647 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005062/0.04039, allocations: 196.7 kB / 0.7649 GB, free: 14.6 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001133/0.04051, allocations: 86.39 kB / 0.765 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007813/0.04129, allocations: 0.8696 MB / 0.7659 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.381e-05/0.04131, allocations: 18.61 kB / 0.7659 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.04179, allocations: 0.6986 MB / 0.7666 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.04231, allocations: 249 kB / 0.7668 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.04562, allocations: 1.195 MB / 0.768 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.04578, allocations: 215.2 kB / 0.7682 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.04595, allocations: 63.72 kB / 0.7682 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.04616, allocations: 163.2 kB / 0.7684 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/0.04616, allocations: 0 / 0.7684 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.01356/0.05972, allocations: 11.33 MB / 0.7794 GB, free: 15.8 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.05798308737576]