Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 107.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002293/0.002293, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 250 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 476.7 MB / 0.7634 GB, free: 10.88 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.88 kB / 1.108 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8817, allocations: 168.7 MB / 1.272 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007804/0.8895, allocations: 5.532 MB / 1.278 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004751/0.8942, allocations: 2.65 MB / 1.28 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.8946, allocations: 23.81 kB / 1.28 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.8965, allocations: 0.6902 MB / 1.281 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.8976, allocations: 425.7 kB / 1.281 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.8987, allocations: 400.2 kB / 1.282 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.8999, allocations: 0.9552 MB / 1.283 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006313/0.9005, allocations: 372.9 kB / 1.283 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.9011, allocations: 382.5 kB / 1.284 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.9016, allocations: 422.4 kB / 1.284 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.392e-05/0.9017, allocations: 48 kB / 1.284 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.9025, allocations: 375.2 kB / 1.284 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.9027, allocations: 259.2 kB / 1.285 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.9031, allocations: 342.3 kB / 1.285 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.9043, allocations: 0.9805 MB / 1.286 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9043, allocations: 4 kB / 1.286 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9043, allocations: 0 / 1.286 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.9043, allocations: 0 / 1.286 GB, free: 6.832 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001711/0.906, allocations: 0.9884 MB / 1.287 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.906, allocations: 8.031 kB / 1.287 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.9074, allocations: 200.3 kB / 1.287 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008494/0.9083, allocations: 0.5184 MB / 1.288 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.9083, allocations: 45.36 kB / 1.288 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.9085, allocations: 48.55 kB / 1.288 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.9097, allocations: 0.8294 MB / 1.288 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.9097, allocations: 7.984 kB / 1.288 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.6e-05/0.9098, allocations: 27.98 kB / 1.288 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.91, allocations: 60.95 kB / 1.289 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.9109, allocations: 0.5696 MB / 1.289 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004743/0.9156, allocations: 4.581 MB / 1.294 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.9161, allocations: 275.8 kB / 1.294 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.9164, allocations: 213.3 kB / 1.294 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.9164, allocations: 288 / 1.294 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.9165, allocations: 46.72 kB / 1.294 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.9165, allocations: 0 / 1.294 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.00569/0.9222, allocations: 2.636 MB / 1.297 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.9222, allocations: 67.33 kB / 1.297 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.9227, allocations: 453.9 kB / 1.297 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.9228, allocations: 37.7 kB / 1.297 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.923, allocations: 340.6 kB / 1.297 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.9232, allocations: 154.7 kB / 1.298 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.9234, allocations: 98.2 kB / 1.298 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.9235, allocations: 366.8 kB / 1.298 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.9239, allocations: 240.9 kB / 1.298 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.9244, allocations: 402.5 kB / 1.299 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009153/0.9253, allocations: 0.6817 MB / 1.299 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9253, allocations: 4 kB / 1.299 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001723/0.927, allocations: 0.9135 MB / 1.3 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.9271, allocations: 8 kB / 1.3 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.9271, allocations: 8 kB / 1.3 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007904/0.9279, allocations: 222.7 kB / 1.3 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.9284, allocations: 119.8 kB / 1.301 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.9339, allocations: 5.345 MB / 1.306 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.9344, allocations: 31.97 kB / 1.306 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.9344, allocations: 20 kB / 1.306 GB, free: 1.027 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003606/0.9348, allocations: 227.7 kB / 1.306 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.9349, allocations: 59.61 kB / 1.306 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.9364, allocations: 0.7659 MB / 1.307 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.9364, allocations: 4 kB / 1.307 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9364, allocations: 4 kB / 1.307 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9365, allocations: 3.984 kB / 1.307 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.939, allocations: 1.502 MB / 1.308 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.939, allocations: 4.188 kB / 1.308 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.9394, allocations: 71.89 kB / 1.308 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006895/0.9401, allocations: 206.5 kB / 1.309 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.9401, allocations: 8 kB / 1.309 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005235/0.9454, allocations: 5.278 MB / 1.314 GB, free: 8.359 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9454, allocations: 0 / 1.314 GB, free: 8.359 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.9473, allocations: 1.128 MB / 1.315 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.9475, allocations: 164.7 kB / 1.315 GB, free: 7.004 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.9476, allocations: 15.94 kB / 1.315 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.9479, allocations: 23.97 kB / 1.315 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.948, allocations: 31.95 kB / 1.315 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.948, allocations: 16 kB / 1.315 GB, free: 6.918 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003857/0.9484, allocations: 314.9 kB / 1.315 GB, free: 6.613 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9484, allocations: 4.062 kB / 1.315 GB, free: 6.609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007374/0.9492, allocations: 164 kB / 1.316 GB, free: 6.449 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000201/0.9494, allocations: 119.7 kB / 1.316 GB, free: 6.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.951, allocations: 0.9687 MB / 1.317 GB, free: 5.312 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.951, allocations: 4 kB / 1.317 GB, free: 5.309 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009871/0.952, allocations: 0.6681 MB / 1.317 GB, free: 4.602 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/0.9529, allocations: 196.2 kB / 1.318 GB, free: 4.422 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.9552, allocations: 1.32 MB / 1.319 GB, free: 3.047 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.9558, allocations: 0.9493 MB / 1.32 GB, free: 2.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.9559, allocations: 39.44 kB / 1.32 GB, free: 2.031 MB / 1.014 GB Notification: Performance of SimCode: time 1.453e-06/0.9559, allocations: 4 kB / 1.32 GB, free: 2.027 MB / 1.014 GB Notification: Performance of Templates: time 0.02037/0.9763, allocations: 14.85 MB / 1.334 GB, free: 3.219 MB / 1.029 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches