Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001338/0.001338, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001489/0.001489, allocations: 218 kB / 23.01 MB, free: 4.605 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.282/3.282, allocations: 0.49 GB / 0.7958 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.002042/0.002042, allocations: 69.09 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3702, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00839/0.3786, allocations: 5.769 MB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005155/0.3837, allocations: 2.783 MB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.3842, allocations: 27.75 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.3862, allocations: 0.7187 MB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.3873, allocations: 417.7 kB / 1.337 GB, free: 7.691 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3884, allocations: 415 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.3898, allocations: 0.971 MB / 1.338 GB, free: 6.309 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.3904, allocations: 382.5 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000644/0.391, allocations: 386.5 kB / 1.339 GB, free: 5.543 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.3917, allocations: 434.3 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.786e-05/0.3918, allocations: 48 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008661/0.3926, allocations: 371.2 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.3929, allocations: 255.2 kB / 1.34 GB, free: 4.457 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.3933, allocations: 346.2 kB / 1.34 GB, free: 4.117 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.3946, allocations: 0.9883 MB / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3946, allocations: 0 / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3946, allocations: 0 / 1.341 GB, free: 3.125 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.3947, allocations: 0 / 1.341 GB, free: 3.125 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.001753/0.3964, allocations: 0.9131 MB / 1.342 GB, free: 2.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3965, allocations: 12.03 kB / 1.342 GB, free: 2.168 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.3978, allocations: 200.3 kB / 1.342 GB, free: 1.973 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009564/0.3988, allocations: 464.9 kB / 1.343 GB, free: 1.492 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.3989, allocations: 45.34 kB / 1.343 GB, free: 1.449 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.399, allocations: 56.5 kB / 1.343 GB, free: 1.395 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.4003, allocations: 0.8356 MB / 1.343 GB, free: 484 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.4003, allocations: 11.94 kB / 1.343 GB, free: 472 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/0.4004, allocations: 23.98 kB / 1.344 GB, free: 448 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/0.4006, allocations: 60.95 kB / 1.344 GB, free: 388 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.4016, allocations: 0.5735 MB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005172/0.4067, allocations: 4.501 MB / 1.349 GB, free: 10.97 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.4073, allocations: 279.3 kB / 1.349 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.4076, allocations: 209.3 kB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.4076, allocations: 4.281 kB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.4077, allocations: 46.77 kB / 1.349 GB, free: 10.42 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.444e-06/0.4077, allocations: 0 / 1.349 GB, free: 10.42 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005835/0.4135, allocations: 2.33 MB / 1.351 GB, free: 8.039 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4135, allocations: 67.28 kB / 1.351 GB, free: 7.961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.4141, allocations: 466 kB / 1.352 GB, free: 7.492 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.4142, allocations: 29.7 kB / 1.352 GB, free: 7.457 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.4145, allocations: 356.5 kB / 1.352 GB, free: 7.105 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.4146, allocations: 150.7 kB / 1.352 GB, free: 6.957 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.4148, allocations: 106.3 kB / 1.352 GB, free: 6.848 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.415, allocations: 358.8 kB / 1.353 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.4154, allocations: 241.2 kB / 1.353 GB, free: 6.254 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/0.4159, allocations: 415.4 kB / 1.353 GB, free: 5.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.4169, allocations: 0.6817 MB / 1.354 GB, free: 5.016 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4169, allocations: 0 / 1.354 GB, free: 5.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001778/0.4187, allocations: 0.9138 MB / 1.355 GB, free: 4.086 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4187, allocations: 12.09 kB / 1.355 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.4187, allocations: 7.984 kB / 1.355 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/0.4195, allocations: 222.4 kB / 1.355 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.42, allocations: 119.7 kB / 1.355 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/0.4258, allocations: 5.026 MB / 1.36 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.4264, allocations: 31.97 kB / 1.36 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.4264, allocations: 24 kB / 1.36 GB, free: 14.3 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.0004013/0.4268, allocations: 214.2 kB / 1.36 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4269, allocations: 67.62 kB / 1.361 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.4285, allocations: 0.7657 MB / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.4286, allocations: 4 kB / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4286, allocations: 4 kB / 1.361 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4286, allocations: 3.984 kB / 1.361 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.4312, allocations: 1.467 MB / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4312, allocations: 0 / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.4316, allocations: 67.89 kB / 1.363 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007069/0.4323, allocations: 210.7 kB / 1.363 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.4324, allocations: 12 kB / 1.363 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/0.4378, allocations: 4.967 MB / 1.368 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.4379, allocations: 8.094 kB / 1.368 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.4399, allocations: 1.127 MB / 1.369 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.4402, allocations: 95.61 kB / 1.369 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.4403, allocations: 19.86 kB / 1.369 GB, free: 4.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.4406, allocations: 32.03 kB / 1.369 GB, free: 4.738 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4407, allocations: 31.94 kB / 1.369 GB, free: 4.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.4407, allocations: 12 kB / 1.369 GB, free: 4.695 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004077/0.4412, allocations: 318.9 kB / 1.369 GB, free: 4.387 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4412, allocations: 0 / 1.369 GB, free: 4.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007376/0.4419, allocations: 168 kB / 1.37 GB, free: 4.223 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.0001805/0.4421, allocations: 120.3 kB / 1.37 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.4438, allocations: 0.9654 MB / 1.371 GB, free: 3.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4438, allocations: 128 / 1.371 GB, free: 3.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4448, allocations: 0.6718 MB / 1.371 GB, free: 2.379 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.4457, allocations: 186.5 kB / 1.372 GB, free: 2.203 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.448, allocations: 1.343 MB / 1.373 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.4487, allocations: 0.9532 MB / 1.374 GB, free: 15.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4488, allocations: 39.44 kB / 1.374 GB, free: 15.79 MB / 1.076 GB Notification: Performance of SimCode: time 8.31e-07/0.4488, allocations: 0 / 1.374 GB, free: 15.79 MB / 1.076 GB Notification: Performance of Templates: time 0.02091/0.4697, allocations: 14.98 MB / 1.388 GB, free: 0.8555 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.879019148007501]