Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008554/0.0008554, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008157/0.0008157, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8972/0.8972, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.665/1.665, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.OnePhase.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.026e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004917/0.004937, allocations: 5.838 MB / 0.9574 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.008355, allocations: 3.078 MB / 0.9604 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.008658, allocations: 39.62 kB / 0.9605 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.009979, allocations: 0.9444 MB / 0.9614 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007279/0.01071, allocations: 0.4893 MB / 0.9619 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.01139, allocations: 496.4 kB / 0.9623 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.01218, allocations: 1.123 MB / 0.9634 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006139/0.0128, allocations: 0.5061 MB / 0.9639 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005711/0.01337, allocations: 0.6078 MB / 0.9645 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.0138, allocations: 426.8 kB / 0.9649 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.01386, allocations: 56 kB / 0.965 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005399/0.0144, allocations: 458.7 kB / 0.9654 GB, free: 4.891 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.0146, allocations: 307.1 kB / 0.9657 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.01479, allocations: 267.3 kB / 0.966 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009264/0.01572, allocations: 1.211 MB / 0.9672 GB, free: 3.109 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.01572, allocations: 4 kB / 0.9672 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.515e-06/0.01573, allocations: 4 kB / 0.9672 GB, free: 3.102 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.01574, allocations: 0 / 0.9672 GB, free: 3.102 MB / 0.9167 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.001172/0.01691, allocations: 0.987 MB / 0.9681 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.01696, allocations: 8.031 kB / 0.9681 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/0.01778, allocations: 232.2 kB / 0.9684 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.01836, allocations: 0.5196 MB / 0.9689 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.01839, allocations: 45.67 kB / 0.9689 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/0.01848, allocations: 72.34 kB / 0.969 GB, free: 1.18 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009299/0.01941, allocations: 1.123 MB / 0.9701 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.01943, allocations: 12.08 kB / 0.9701 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.01948, allocations: 28.36 kB / 0.9701 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-05/0.01954, allocations: 73.2 kB / 0.9702 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/0.0202, allocations: 0.6957 MB / 0.9709 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.02293, allocations: 4.374 MB / 0.9751 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.02343, allocations: 414.1 kB / 0.9755 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.02388, allocations: 389.3 kB / 0.9759 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.02391, allocations: 11.78 kB / 0.9759 GB, free: 9.781 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.02393, allocations: 34.55 kB / 0.9759 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=41): time 2.285e-06/0.02393, allocations: 4 kB / 0.976 GB, free: 9.734 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42): time 0.002315/0.02624, allocations: 1.726 MB / 0.9776 GB, free: 7.988 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.02628, allocations: 63.28 kB / 0.9777 GB, free: 7.914 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.02656, allocations: 433.7 kB / 0.9781 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.02658, allocations: 37.7 kB / 0.9781 GB, free: 7.438 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.02675, allocations: 396 kB / 0.9785 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.02683, allocations: 158.7 kB / 0.9787 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.02693, allocations: 106.2 kB / 0.9788 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.02703, allocations: 366.8 kB / 0.9791 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.0273, allocations: 245.2 kB / 0.9794 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.02761, allocations: 457 kB / 0.9798 GB, free: 5.629 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.0282, allocations: 0.748 MB / 0.9805 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.0282, allocations: 4 kB / 0.9805 GB, free: 4.781 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001047/0.02925, allocations: 1.031 MB / 0.9815 GB, free: 3.73 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.02927, allocations: 12 kB / 0.9815 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02928, allocations: 8.062 kB / 0.9816 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.02982, allocations: 327 kB / 0.9819 GB, free: 3.379 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.02999, allocations: 103.8 kB / 0.982 GB, free: 3.277 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.03417, allocations: 6.965 MB / 0.9888 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.03433, allocations: 32.02 kB / 0.9888 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.03436, allocations: 28 kB / 0.9888 GB, free: 11.84 MB / 0.948 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.000193/0.03455, allocations: 245.5 kB / 0.9891 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.0346, allocations: 59.62 kB / 0.9891 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.03553, allocations: 0.8957 MB / 0.99 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.03553, allocations: 4 kB / 0.99 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.03554, allocations: 4 kB / 0.99 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.03554, allocations: 7.922 kB / 0.99 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.03698, allocations: 1.51 MB / 0.9915 GB, free: 9.016 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.03699, allocations: 4.172 kB / 0.9915 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.03707, allocations: 43.97 kB / 0.9915 GB, free: 8.969 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.03753, allocations: 315.3 kB / 0.9918 GB, free: 8.648 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.03755, allocations: 8 kB / 0.9918 GB, free: 8.641 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003957/0.04151, allocations: 6.964 MB / 0.9986 GB, free: 1.273 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.04151, allocations: 11.94 kB / 0.9986 GB, free: 1.262 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.04243, allocations: 0.9841 MB / 0.9996 GB, free: 236 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.04254, allocations: 95.56 kB / 0.9997 GB, free: 140 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.04257, allocations: 12 kB / 0.9997 GB, free: 128 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.0427, allocations: 23.97 kB / 0.9997 GB, free: 104 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.04276, allocations: 39.92 kB / 0.9998 GB, free: 64 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.04278, allocations: 12 kB / 0.9998 GB, free: 52 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002384/0.04301, allocations: 278.9 kB / 1 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.9e-07/0.04301, allocations: 0 / 1 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004666/0.04348, allocations: 192 kB / 1 GB, free: 15.59 MB / 0.9636 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.0001244/0.04361, allocations: 119.5 kB / 1 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.04464, allocations: 1.164 MB / 1.001 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.04464, allocations: 0 / 1.001 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.04522, allocations: 0.8342 MB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.04578, allocations: 187.1 kB / 1.002 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.04707, allocations: 1.311 MB / 1.004 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.04732, allocations: 394.7 kB / 1.004 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.04738, allocations: 40.5 kB / 1.004 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of SimCode: time 1.182e-06/0.04738, allocations: 0 / 1.004 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of Templates: time 0.01234/0.05973, allocations: 18.63 MB / 1.022 GB, free: 8.781 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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: 7.978199185803533]