Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 1.057 GB, free: 1.973 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007558/0.3298, allocations: 5.528 MB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004669/0.3345, allocations: 2.665 MB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.3349, allocations: 27.81 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.3368, allocations: 0.6883 MB / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.3378, allocations: 421.7 kB / 1.223 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3388, allocations: 399.1 kB / 1.224 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.34, allocations: 0.9552 MB / 1.224 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.3406, allocations: 366.6 kB / 1.225 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.3411, allocations: 378.6 kB / 1.225 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.3417, allocations: 426.3 kB / 1.226 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.227e-05/0.3418, allocations: 48 kB / 1.226 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007275/0.3425, allocations: 379.2 kB / 1.226 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.3428, allocations: 251.2 kB / 1.226 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.3431, allocations: 342.3 kB / 1.227 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.3443, allocations: 0.9766 MB / 1.228 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3443, allocations: 0 / 1.228 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3443, allocations: 0 / 1.228 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.3444, allocations: 4 kB / 1.228 GB, free: 3.074 MB / 0.9669 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.001671/0.346, allocations: 0.9962 MB / 1.229 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3461, allocations: 11.97 kB / 1.229 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.3475, allocations: 200.2 kB / 1.229 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/0.3484, allocations: 0.5145 MB / 1.229 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.3484, allocations: 37.36 kB / 1.229 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.3486, allocations: 60.5 kB / 1.229 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.3498, allocations: 0.8279 MB / 1.23 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.3498, allocations: 3.984 kB / 1.23 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.3499, allocations: 27.98 kB / 1.23 GB, free: 236 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.3501, allocations: 64.95 kB / 1.23 GB, free: 172 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009313/0.351, allocations: 0.5735 MB / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.3559, allocations: 4.574 MB / 1.235 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.3564, allocations: 279.3 kB / 1.235 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.3567, allocations: 209.3 kB / 1.236 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3567, allocations: 4.281 kB / 1.236 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3568, allocations: 38.78 kB / 1.236 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.3568, allocations: 0 / 1.236 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40): time 0.006066/0.3628, allocations: 2.628 MB / 1.238 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3629, allocations: 67.33 kB / 1.238 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.3634, allocations: 461.9 kB / 1.239 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.3635, allocations: 29.7 kB / 1.239 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.3637, allocations: 352.5 kB / 1.239 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3639, allocations: 146.7 kB / 1.239 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.364, allocations: 106.2 kB / 1.239 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3642, allocations: 358.8 kB / 1.24 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.3646, allocations: 241 kB / 1.24 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.3651, allocations: 410.4 kB / 1.24 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009349/0.3661, allocations: 0.6817 MB / 1.241 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3661, allocations: 0 / 1.241 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001765/0.3678, allocations: 0.9138 MB / 1.242 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3679, allocations: 12.03 kB / 1.242 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3679, allocations: 4 kB / 1.242 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008388/0.3687, allocations: 230.3 kB / 1.242 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.3692, allocations: 115.8 kB / 1.242 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.375, allocations: 5.348 MB / 1.247 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.3755, allocations: 27.97 kB / 1.248 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.3755, allocations: 24 kB / 1.248 GB, free: 13.27 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.0003341/0.3759, allocations: 217.7 kB / 1.248 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.376, allocations: 67.61 kB / 1.248 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.3776, allocations: 0.7693 MB / 1.249 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.3776, allocations: 8 kB / 1.249 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3776, allocations: 3.938 kB / 1.249 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3776, allocations: 7.984 kB / 1.249 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.3802, allocations: 1.483 MB / 1.25 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3802, allocations: 0 / 1.25 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.3805, allocations: 64.11 kB / 1.25 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007195/0.3813, allocations: 214.3 kB / 1.25 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.3813, allocations: 8 kB / 1.25 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.3867, allocations: 5.274 MB / 1.255 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3867, allocations: 8.094 kB / 1.255 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.3886, allocations: 1.12 MB / 1.257 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/0.3889, allocations: 168.8 kB / 1.257 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.3889, allocations: 15.94 kB / 1.257 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.3893, allocations: 28.22 kB / 1.257 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3894, allocations: 31.95 kB / 1.257 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.3894, allocations: 16 kB / 1.257 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003667/0.3898, allocations: 314.9 kB / 1.257 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3898, allocations: 0 / 1.257 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006999/0.3905, allocations: 168 kB / 1.257 GB, free: 2.695 MB / 0.9981 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.0001635/0.3906, allocations: 111.5 kB / 1.257 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.3923, allocations: 0.9735 MB / 1.258 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3923, allocations: 8.062 kB / 1.258 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.3933, allocations: 0.668 MB / 1.259 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.3942, allocations: 178.4 kB / 1.259 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6566/1.051, allocations: 1.321 MB / 1.26 GB, free: 47.89 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/1.051, allocations: 0.9453 MB / 1.261 GB, free: 47.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/1.051, allocations: 47.92 kB / 1.261 GB, free: 47.18 MB / 0.9981 GB Notification: Performance of SimCode: time 1.683e-06/1.051, allocations: 1.594 kB / 1.261 GB, free: 47.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.028/1.079, allocations: 14.85 MB / 1.276 GB, free: 46.36 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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 [Calling sys.exit(0), Time elapsed: 13.87659435486421]