Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0008548/0.0008548, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001973, 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.0007065/0.0007065, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.001644, 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.8849/0.8849, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09013/0.975, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.763/1.763, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4704/2.234, allocations: 123.3 MB / 0.728 GB, free: 5.809 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,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") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.292e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006356/0.006379, allocations: 7.877 MB / 0.737 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.007182/0.01356, allocations: 6.017 MB / 0.7429 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.01472, allocations: 87.25 kB / 0.743 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000904/0.01563, allocations: 398.1 kB / 0.7434 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.0187, allocations: 1.517 MB / 0.7448 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.01975, allocations: 0.5676 MB / 0.7454 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002476/0.02222, allocations: 2.521 MB / 0.7479 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.02353, allocations: 1.141 MB / 0.749 GB, free: 396 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.02571, allocations: 1.702 MB / 0.7506 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.02682, allocations: 0.9394 MB / 0.7515 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.02699, allocations: 137.5 kB / 0.7517 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.02759, allocations: 299.5 kB / 0.752 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000387/0.02797, allocations: 0.5376 MB / 0.7525 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.02849, allocations: 0.4951 MB / 0.753 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.02978, allocations: 1.338 MB / 0.7543 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.927e-05/0.0298, allocations: 0 / 0.7543 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.273e-06/0.0298, allocations: 0 / 0.7543 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.064e-05/0.02984, allocations: 0 / 0.7543 GB, free: 10.95 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002032/0.03187, allocations: 2.224 MB / 0.7565 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.03191, allocations: 12.03 kB / 0.7565 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.03463, allocations: 0.8535 MB / 0.7573 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.03599, allocations: 1.051 MB / 0.7583 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.03604, allocations: 82.69 kB / 0.7584 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.03619, allocations: 125.1 kB / 0.7585 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.03786, allocations: 1.537 MB / 0.76 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.03789, allocations: 15.86 kB / 0.76 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.03798, allocations: 55.98 kB / 0.7601 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.03813, allocations: 103.4 kB / 0.7602 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.03881, allocations: 0.5273 MB / 0.7607 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/0.04372, allocations: 5.309 MB / 0.7659 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008022/0.04452, allocations: 412.9 kB / 0.7663 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.04474, allocations: 164.2 kB / 0.7664 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.04478, allocations: 13.41 kB / 0.7665 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.04481, allocations: 39.06 kB / 0.7665 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=53): time 3.597e-06/0.04481, allocations: 4.781 kB / 0.7665 GB, free: 14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54): time 0.003589/0.0484, allocations: 1.809 MB / 0.7683 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.04843, allocations: 60.97 kB / 0.7683 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.04901, allocations: 0.8434 MB / 0.7691 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.04906, allocations: 33.7 kB / 0.7692 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.04931, allocations: 0.6004 MB / 0.7698 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.04944, allocations: 202.3 kB / 0.77 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.04961, allocations: 150.5 kB / 0.7701 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.04969, allocations: 339 kB / 0.7704 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.04989, allocations: 148.1 kB / 0.7706 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.05017, allocations: 377.6 kB / 0.7709 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.05067, allocations: 0.5735 MB / 0.7715 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.05068, allocations: 4 kB / 0.7715 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00103/0.05171, allocations: 0.7975 MB / 0.7723 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.05173, allocations: 11.94 kB / 0.7723 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.05174, allocations: 12 kB / 0.7723 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009018/0.05264, allocations: 346.3 kB / 0.7726 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.05322, allocations: 211.7 kB / 0.7728 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.0569, allocations: 5.444 MB / 0.7781 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.05754, allocations: 48.02 kB / 0.7782 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.0576, allocations: 35.97 kB / 0.7782 GB, free: 1.363 MB / 0.7448 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 (73): * Single equations (assignments): 69 * 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%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003473/0.05795, allocations: 156.5 kB / 0.7784 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.05811, allocations: 99.83 kB / 0.7785 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.05915, allocations: 0.7462 MB / 0.7792 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.05915, allocations: 4 kB / 0.7792 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.05916, allocations: 4 kB / 0.7792 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.05916, allocations: 3.984 kB / 0.7792 GB, free: 328 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.06115, allocations: 1.407 MB / 0.7806 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.06115, allocations: 4 kB / 0.7806 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.06159, allocations: 135.8 kB / 0.7807 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.06187, allocations: 215.2 kB / 0.7809 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000737/0.06261, allocations: 330.5 kB / 0.7812 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.06265, allocations: 19.97 kB / 0.7812 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/0.06578, allocations: 5.436 MB / 0.7866 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.06578, allocations: 240 / 0.7866 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/0.06678, allocations: 0.7947 MB / 0.7873 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.06692, allocations: 8 kB / 0.7873 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.06732, allocations: 39.97 kB / 0.7874 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.06742, allocations: 52.34 kB / 0.7874 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.06747, allocations: 19.97 kB / 0.7874 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003011/0.06777, allocations: 420.6 kB / 0.7878 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.06777, allocations: 0 / 0.7878 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000845/0.06861, allocations: 348 kB / 0.7882 GB, free: 6.598 MB / 0.7605 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 (37): * Single equations (assignments): 33 * 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%), (3,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.0001797/0.06879, allocations: 108.2 kB / 0.7883 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.06994, allocations: 1.085 MB / 0.7893 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.977e-05/0.06997, allocations: 24.5 kB / 0.7894 GB, free: 5.324 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.07068, allocations: 0.8 MB / 0.7901 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.07175, allocations: 0.5922 MB / 0.7907 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008164/0.07991, allocations: 2.331 MB / 0.793 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.08019, allocations: 332.5 kB / 0.7933 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008923/0.08108, allocations: 281.7 kB / 0.7936 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/0.08179, allocations: 399 kB / 0.794 GB, free: 488 kB / 0.7605 GB Notification: Performance of SimCode: time 1.793e-06/0.0818, allocations: 0 / 0.794 GB, free: 488 kB / 0.7605 GB Notification: Performance of Templates: time 0.03106/0.1129, allocations: 27.38 MB / 0.8207 GB, free: 5.672 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.273790028877556]