Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001844/0.001844, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.00231/0.00231, allocations: 212.7 kB / 22.99 MB, free: 4.957 MB / 14.72 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 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.086/3.086, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_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_12_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_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 64.75 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.319, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007534/0.3265, allocations: 5.28 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004382/0.3309, allocations: 2.607 MB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.3311, allocations: 39.62 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.333, allocations: 0.6769 MB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008198/0.3338, allocations: 417.8 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008571/0.3347, allocations: 393.5 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009949/0.3357, allocations: 0.9594 MB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.3362, allocations: 382.5 kB / 1.338 GB, free: 6.242 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.3367, allocations: 394.5 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.3373, allocations: 422.4 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.3374, allocations: 48 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000525/0.3379, allocations: 335.2 kB / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.3382, allocations: 255.3 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.3385, allocations: 290.6 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.3396, allocations: 0.9844 MB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3396, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3396, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3396, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 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.001633/0.3412, allocations: 0.9131 MB / 1.341 GB, free: 2.598 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3412, allocations: 12.03 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.3426, allocations: 192.3 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.3435, allocations: 463.6 kB / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.3435, allocations: 33.38 kB / 1.342 GB, free: 1.891 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.3437, allocations: 56.53 kB / 1.342 GB, free: 1.836 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.345, allocations: 0.9863 MB / 1.343 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.345, allocations: 11.89 kB / 1.343 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/0.3451, allocations: 20 kB / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/0.3453, allocations: 64.95 kB / 1.343 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.3462, allocations: 0.5735 MB / 1.343 GB, free: 60 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/0.3503, allocations: 3.492 MB / 1.347 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.3508, allocations: 271.2 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.3511, allocations: 213.3 kB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.3511, allocations: 4.281 kB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3512, allocations: 34.84 kB / 1.347 GB, free: 11.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.3512, allocations: 0 / 1.347 GB, free: 11.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.00563/0.3568, allocations: 2.346 MB / 1.35 GB, free: 9.508 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3568, allocations: 55.41 kB / 1.35 GB, free: 9.441 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.3573, allocations: 429.7 kB / 1.35 GB, free: 9.016 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.3573, allocations: 33.69 kB / 1.35 GB, free: 8.977 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.3576, allocations: 352.4 kB / 1.35 GB, free: 8.625 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3577, allocations: 154.7 kB / 1.351 GB, free: 8.473 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.3579, allocations: 106.3 kB / 1.351 GB, free: 8.363 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3581, allocations: 358.7 kB / 1.351 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.3584, allocations: 241.2 kB / 1.351 GB, free: 7.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.3589, allocations: 413 kB / 1.352 GB, free: 7.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009106/0.3599, allocations: 0.6779 MB / 1.352 GB, free: 6.539 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3599, allocations: 3.938 kB / 1.352 GB, free: 6.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001758/0.3616, allocations: 0.9094 MB / 1.353 GB, free: 5.609 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3616, allocations: 11.98 kB / 1.353 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3616, allocations: 4 kB / 1.353 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008344/0.3625, allocations: 223 kB / 1.353 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.363, allocations: 115.8 kB / 1.354 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/0.3683, allocations: 4.946 MB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.3688, allocations: 27.92 kB / 1.358 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.3688, allocations: 27.94 kB / 1.358 GB, free: 15.94 MB / 1.061 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.0003/0.3691, allocations: 222.3 kB / 1.359 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.892e-05/0.3692, allocations: 59.67 kB / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.3708, allocations: 0.7539 MB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3708, allocations: 4 kB / 1.359 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3708, allocations: 4 kB / 1.359 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3708, allocations: 7.922 kB / 1.359 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.3732, allocations: 1.323 MB / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3733, allocations: 0 / 1.361 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.3736, allocations: 75.88 kB / 1.361 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007244/0.3744, allocations: 202.5 kB / 1.361 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.3744, allocations: 12.19 kB / 1.361 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005069/0.3795, allocations: 4.871 MB / 1.366 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3795, allocations: 4.031 kB / 1.366 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.3814, allocations: 1.135 MB / 1.367 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.3817, allocations: 87.66 kB / 1.367 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.3817, allocations: 12 kB / 1.367 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.3821, allocations: 23.97 kB / 1.367 GB, free: 6.699 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/0.3822, allocations: 39.88 kB / 1.367 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.3822, allocations: 19.92 kB / 1.367 GB, free: 6.641 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003575/0.3826, allocations: 287.1 kB / 1.367 GB, free: 6.367 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3826, allocations: 0 / 1.367 GB, free: 6.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006927/0.3832, allocations: 168.1 kB / 1.368 GB, free: 6.203 MB / 1.061 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.0001716/0.3834, allocations: 112.1 kB / 1.368 GB, free: 6.086 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.3851, allocations: 0.973 MB / 1.369 GB, free: 5.074 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3851, allocations: 0 / 1.369 GB, free: 5.074 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3861, allocations: 0.6681 MB / 1.369 GB, free: 4.367 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.3869, allocations: 173.3 kB / 1.369 GB, free: 4.203 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.389, allocations: 1.259 MB / 1.371 GB, free: 2.895 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.3894, allocations: 354 kB / 1.371 GB, free: 2.523 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.3897, allocations: 108.8 kB / 1.371 GB, free: 2.418 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.3898, allocations: 35.44 kB / 1.371 GB, free: 2.383 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3898, allocations: 3.938 kB / 1.371 GB, free: 2.379 MB / 1.061 GB Notification: Performance of Templates: time 0.01747/0.4073, allocations: 10.01 MB / 1.381 GB, free: 8.57 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.747810656001093]