Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008981/0.0008981, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008342/0.0008342, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8945/0.8945, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.735/1.735, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.247e-05, allocations: 5.234 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007944/0.007977, allocations: 5.831 MB / 1.007 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005447/0.01342, allocations: 3.071 MB / 1.01 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008233/0.01425, allocations: 39.62 kB / 1.01 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.01623, allocations: 0.94 MB / 1.011 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.0178, allocations: 0.497 MB / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.01925, allocations: 497.3 kB / 1.012 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.02103, allocations: 1.131 MB / 1.013 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.02213, allocations: 0.51 MB / 1.013 GB, free: 452 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.02337, allocations: 0.6001 MB / 1.014 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008217/0.0242, allocations: 430.7 kB / 1.014 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.0243, allocations: 56 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.02533, allocations: 450.8 kB / 1.015 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.02565, allocations: 315.1 kB / 1.015 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.02602, allocations: 271.3 kB / 1.015 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.02802, allocations: 1.207 MB / 1.016 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.02802, allocations: 4 kB / 1.016 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.084e-06/0.02803, allocations: 0 / 1.016 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.927e-05/0.02806, allocations: 0 / 1.016 GB, free: 13.13 MB / 0.9792 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.002069/0.03013, allocations: 0.9908 MB / 1.017 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.03019, allocations: 8.031 kB / 1.017 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.03168, allocations: 236.2 kB / 1.018 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.03268, allocations: 0.5081 MB / 1.018 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.03272, allocations: 45.62 kB / 1.018 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.03283, allocations: 68.31 kB / 1.018 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.03443, allocations: 1.13 MB / 1.019 GB, free: 9.961 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.03447, allocations: 12.12 kB / 1.019 GB, free: 9.949 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.03454, allocations: 28.38 kB / 1.019 GB, free: 9.922 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.945e-05/0.03464, allocations: 69.2 kB / 1.019 GB, free: 9.852 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.03583, allocations: 0.6879 MB / 1.02 GB, free: 9.164 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.04067, allocations: 4.394 MB / 1.024 GB, free: 4.617 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.04147, allocations: 414.3 kB / 1.025 GB, free: 4.203 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/0.04223, allocations: 384.6 kB / 1.025 GB, free: 3.824 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.04226, allocations: 8.688 kB / 1.025 GB, free: 3.816 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.04229, allocations: 38.5 kB / 1.025 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=41): time 4.138e-06/0.04229, allocations: 0 / 1.025 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42): time 0.003819/0.04611, allocations: 1.718 MB / 1.027 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.04615, allocations: 55.41 kB / 1.027 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.04652, allocations: 437.7 kB / 1.027 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.04655, allocations: 37.7 kB / 1.027 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.04673, allocations: 400 kB / 1.028 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.04683, allocations: 158.6 kB / 1.028 GB, free: 0.9297 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.04697, allocations: 106.3 kB / 1.028 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.04708, allocations: 362.7 kB / 1.028 GB, free: 468 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.04731, allocations: 245.2 kB / 1.029 GB, free: 220 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.04765, allocations: 453 kB / 1.029 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.04831, allocations: 0.7634 MB / 1.03 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.04831, allocations: 0 / 1.03 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001322/0.04963, allocations: 1.047 MB / 1.031 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.04965, allocations: 8 kB / 1.031 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.04967, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.05029, allocations: 327.4 kB / 1.031 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.05048, allocations: 91.83 kB / 1.031 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005384/0.05586, allocations: 6.974 MB / 1.038 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.05624, allocations: 39.95 kB / 1.038 GB, free: 5.891 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.05627, allocations: 24 kB / 1.038 GB, free: 5.867 MB / 0.9948 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.0003658/0.05664, allocations: 249.5 kB / 1.038 GB, free: 5.613 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.0567, allocations: 55.67 kB / 1.038 GB, free: 5.559 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.05777, allocations: 0.8961 MB / 1.039 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.05777, allocations: 4 kB / 1.039 GB, free: 4.641 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.05778, allocations: 8 kB / 1.039 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.05779, allocations: 3.938 kB / 1.039 GB, free: 4.629 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.05948, allocations: 1.501 MB / 1.041 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.05948, allocations: 0 / 1.041 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.05958, allocations: 43.91 kB / 1.041 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/0.0601, allocations: 311.3 kB / 1.041 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.06012, allocations: 8 kB / 1.041 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004779/0.0649, allocations: 6.974 MB / 1.048 GB, free: 11.31 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.0649, allocations: 4 kB / 1.048 GB, free: 11.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.06602, allocations: 0.9762 MB / 1.049 GB, free: 10.28 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.0662, allocations: 103.5 kB / 1.049 GB, free: 10.18 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.06623, allocations: 8 kB / 1.049 GB, free: 10.17 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.06637, allocations: 23.97 kB / 1.049 GB, free: 10.15 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.0665, allocations: 43.86 kB / 1.049 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.06651, allocations: 19.94 kB / 1.049 GB, free: 10.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002318/0.06675, allocations: 278.9 kB / 1.049 GB, free: 9.816 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.06675, allocations: 4 kB / 1.049 GB, free: 9.812 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000592/0.06734, allocations: 196 kB / 1.049 GB, free: 9.621 MB / 1.01 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.000146/0.06748, allocations: 107.2 kB / 1.05 GB, free: 9.508 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.06885, allocations: 1.156 MB / 1.051 GB, free: 8.301 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.06885, allocations: 0 / 1.051 GB, free: 8.301 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.06952, allocations: 0.8475 MB / 1.051 GB, free: 7.402 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.07012, allocations: 188.3 kB / 1.052 GB, free: 7.227 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.07167, allocations: 1.285 MB / 1.053 GB, free: 5.887 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.07196, allocations: 402.5 kB / 1.053 GB, free: 5.465 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.07203, allocations: 40.48 kB / 1.053 GB, free: 5.426 MB / 1.01 GB Notification: Performance of SimCode: time 2.104e-06/0.07203, allocations: 0 / 1.053 GB, free: 5.426 MB / 1.01 GB Notification: Performance of Templates: time 0.4482/0.5203, allocations: 18.63 MB / 1.072 GB, free: 93.16 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.211998848244548]