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.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.001421/0.001421, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001607/0.001607, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.692/2.692, allocations: 476.7 MB / 0.7714 GB, free: 4.336 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.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_11_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_11_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.002066/0.002066, allocations: 65.16 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3607, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007973/0.3686, allocations: 5.695 MB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005014/0.3736, allocations: 2.747 MB / 1.293 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.3742, allocations: 35.69 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.3762, allocations: 0.7063 MB / 1.294 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.3773, allocations: 425.8 kB / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3784, allocations: 398.3 kB / 1.294 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.3796, allocations: 0.9515 MB / 1.295 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.3803, allocations: 386.5 kB / 1.296 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.3809, allocations: 386.6 kB / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006008/0.3815, allocations: 426.3 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.3815, allocations: 55.94 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007125/0.3823, allocations: 375.2 kB / 1.297 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.3825, allocations: 247.3 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.3829, allocations: 350.2 kB / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3841, allocations: 0.9806 MB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3841, allocations: 0 / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3841, allocations: 0 / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.3841, allocations: 4 kB / 1.298 GB, free: 13.11 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.00168/0.3858, allocations: 0.9131 MB / 1.299 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3858, allocations: 8.031 kB / 1.299 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.3872, allocations: 200.2 kB / 1.299 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008811/0.3881, allocations: 459.7 kB / 1.3 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.3881, allocations: 33.38 kB / 1.3 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.3883, allocations: 56.55 kB / 1.3 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.3895, allocations: 0.8318 MB / 1.301 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.3895, allocations: 7.891 kB / 1.301 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.3896, allocations: 24 kB / 1.301 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002311/0.3898, allocations: 64.94 kB / 1.301 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009203/0.3907, allocations: 0.5774 MB / 1.301 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004897/0.3956, allocations: 4.489 MB / 1.306 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.3961, allocations: 283.2 kB / 1.306 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.3964, allocations: 209.3 kB / 1.306 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.3965, allocations: 8.281 kB / 1.306 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3965, allocations: 34.84 kB / 1.306 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.3965, allocations: 0 / 1.306 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.00558/0.4021, allocations: 2.335 MB / 1.309 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4021, allocations: 59.41 kB / 1.309 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.4027, allocations: 454 kB / 1.309 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.4027, allocations: 33.7 kB / 1.309 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.403, allocations: 348.5 kB / 1.309 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.4031, allocations: 146.7 kB / 1.31 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.4033, allocations: 110.2 kB / 1.31 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4035, allocations: 362.8 kB / 1.31 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.4038, allocations: 237.2 kB / 1.31 GB, free: 308 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.4043, allocations: 411.3 kB / 1.311 GB, free: 15.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.4053, allocations: 0.674 MB / 1.311 GB, free: 15.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4053, allocations: 7.938 kB / 1.311 GB, free: 15.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001741/0.407, allocations: 0.9132 MB / 1.312 GB, free: 14.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.407, allocations: 8.656 kB / 1.312 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.407, allocations: 7.984 kB / 1.312 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007944/0.4078, allocations: 222.4 kB / 1.312 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.4084, allocations: 119.8 kB / 1.313 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.4138, allocations: 5.041 MB / 1.318 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.4143, allocations: 31.97 kB / 1.318 GB, free: 8.352 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.4144, allocations: 23.94 kB / 1.318 GB, free: 8.328 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.000339/0.4147, allocations: 221.6 kB / 1.318 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.4148, allocations: 63.56 kB / 1.318 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.4163, allocations: 0.7657 MB / 1.319 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4164, allocations: 4 kB / 1.319 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4164, allocations: 4 kB / 1.319 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4164, allocations: 3.984 kB / 1.319 GB, free: 7.242 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.4189, allocations: 1.462 MB / 1.32 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4189, allocations: 4 kB / 1.32 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.4193, allocations: 67.89 kB / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006747/0.42, allocations: 206.6 kB / 1.32 GB, free: 5.418 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.42, allocations: 8 kB / 1.32 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005161/0.4252, allocations: 4.967 MB / 1.325 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4252, allocations: 0 / 1.325 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.4271, allocations: 1.132 MB / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.4273, allocations: 87.62 kB / 1.326 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.4274, allocations: 19.88 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.4277, allocations: 27.97 kB / 1.326 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.4278, allocations: 39.94 kB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.4279, allocations: 19.94 kB / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003759/0.4282, allocations: 306.9 kB / 1.327 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4282, allocations: 0 / 1.327 GB, free: 14.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007268/0.429, allocations: 168 kB / 1.327 GB, free: 14.27 MB / 1.029 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.0001722/0.4291, allocations: 119.1 kB / 1.327 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.4308, allocations: 0.961 MB / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.4308, allocations: 0 / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009893/0.4318, allocations: 0.672 MB / 1.329 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.4327, allocations: 185.2 kB / 1.329 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.435, allocations: 1.335 MB / 1.33 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.4356, allocations: 0.9493 MB / 1.331 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4357, allocations: 43.42 kB / 1.331 GB, free: 9.844 MB / 1.029 GB Notification: Performance of SimCode: time 1.343e-06/0.4357, allocations: 0 / 1.331 GB, free: 9.844 MB / 1.029 GB Notification: Performance of Templates: time 0.02002/0.4558, allocations: 14.85 MB / 1.346 GB, free: 11.04 MB / 1.045 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 [Calling sys.exit(0), Time elapsed: 13.449048203998245]