Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001863/0.001863, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002377/0.002377, allocations: 217.5 kB / 23 MB, free: 4.914 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002084/0.002084, allocations: 67.69 kB / 1.118 GB, free: 41.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.305, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008154/0.3131, allocations: 5.366 MB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004973/0.3181, allocations: 2.623 MB / 1.292 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.3186, allocations: 35.69 kB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.3205, allocations: 0.6837 MB / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.3217, allocations: 425.8 kB / 1.293 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3228, allocations: 411 kB / 1.293 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.324, allocations: 0.9555 MB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006016/0.3246, allocations: 382.4 kB / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005997/0.3252, allocations: 394.6 kB / 1.295 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000597/0.3258, allocations: 410.3 kB / 1.295 GB, free: 284 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.3258, allocations: 48 kB / 1.295 GB, free: 236 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006847/0.3265, allocations: 323.3 kB / 1.296 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.3268, allocations: 259.2 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.3271, allocations: 294.6 kB / 1.296 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.3283, allocations: 0.9845 MB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3283, allocations: 0 / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3283, allocations: 0 / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.3283, allocations: 0 / 1.297 GB, free: 14.38 MB / 0.9981 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.001688/0.33, allocations: 0.9324 MB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3301, allocations: 12.02 kB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.3314, allocations: 192.3 kB / 1.298 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009333/0.3323, allocations: 472.9 kB / 1.299 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.3324, allocations: 37.38 kB / 1.299 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.3325, allocations: 64.48 kB / 1.299 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3339, allocations: 0.9786 MB / 1.3 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.3339, allocations: 3.938 kB / 1.3 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/0.3339, allocations: 20 kB / 1.3 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.3341, allocations: 64.95 kB / 1.3 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/0.3351, allocations: 0.5736 MB / 1.3 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/0.3394, allocations: 3.488 MB / 1.304 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.3399, allocations: 271.3 kB / 1.304 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.3402, allocations: 213.3 kB / 1.304 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3402, allocations: 288 / 1.304 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3403, allocations: 42.84 kB / 1.304 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.3403, allocations: 0 / 1.304 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005612/0.3459, allocations: 2.339 MB / 1.306 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.3459, allocations: 59.34 kB / 1.306 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.3464, allocations: 429.7 kB / 1.307 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.3465, allocations: 37.7 kB / 1.307 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.3468, allocations: 360.3 kB / 1.307 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.3469, allocations: 146.8 kB / 1.307 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.3471, allocations: 102.3 kB / 1.308 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.3473, allocations: 362.7 kB / 1.308 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.3477, allocations: 245.2 kB / 1.308 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.3482, allocations: 415.3 kB / 1.308 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009344/0.3491, allocations: 0.67 MB / 1.309 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3491, allocations: 0 / 1.309 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001771/0.3509, allocations: 0.9171 MB / 1.31 GB, free: 424 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.3509, allocations: 8 kB / 1.31 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3509, allocations: 4 kB / 1.31 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/0.3517, allocations: 231 kB / 1.31 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.3523, allocations: 115.8 kB / 1.31 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005524/0.3578, allocations: 4.941 MB / 1.315 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.3583, allocations: 27.97 kB / 1.315 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.3583, allocations: 28.12 kB / 1.315 GB, free: 10.75 MB / 1.014 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.0003386/0.3587, allocations: 223.9 kB / 1.315 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.3588, allocations: 51.67 kB / 1.316 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3603, allocations: 0.7616 MB / 1.316 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3604, allocations: 8.141 kB / 1.316 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3604, allocations: 0 / 1.316 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3604, allocations: 11.91 kB / 1.316 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.3629, allocations: 1.326 MB / 1.318 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3629, allocations: 4 kB / 1.318 GB, free: 8.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.3633, allocations: 71.88 kB / 1.318 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/0.3639, allocations: 210.5 kB / 1.318 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.364, allocations: 8.188 kB / 1.318 GB, free: 7.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005255/0.3692, allocations: 4.863 MB / 1.323 GB, free: 2.812 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3692, allocations: 3.938 kB / 1.323 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.3712, allocations: 1.128 MB / 1.324 GB, free: 1.633 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.3714, allocations: 91.58 kB / 1.324 GB, free: 1.543 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.3715, allocations: 8 kB / 1.324 GB, free: 1.535 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.3718, allocations: 27.97 kB / 1.324 GB, free: 1.508 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.3719, allocations: 35.88 kB / 1.324 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.372, allocations: 16 kB / 1.324 GB, free: 1.457 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003603/0.3723, allocations: 294.8 kB / 1.324 GB, free: 1.168 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3723, allocations: 4.062 kB / 1.324 GB, free: 1.164 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006982/0.373, allocations: 168 kB / 1.324 GB, free: 1 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.0001627/0.3732, allocations: 111.2 kB / 1.324 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.3749, allocations: 0.9729 MB / 1.325 GB, free: 15.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3749, allocations: 0 / 1.325 GB, free: 15.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.3759, allocations: 0.668 MB / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.3767, allocations: 176.2 kB / 1.326 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.379, allocations: 1.335 MB / 1.328 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3794, allocations: 354.1 kB / 1.328 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3795, allocations: 35.44 kB / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/0.3795, allocations: 0 / 1.328 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Templates: time 0.01978/0.3993, allocations: 15.03 MB / 1.343 GB, free: 14.21 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.244943362195045]