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.001614/0.001614, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001895/0.001895, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.943/2.943, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.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.002036/0.002036, allocations: 75.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006047/1.1, allocations: 5.554 MB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00432/1.104, allocations: 2.69 MB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004514/1.105, allocations: 28.69 kB / 1.33 GB, free: 19.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/1.107, allocations: 0.6927 MB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/1.108, allocations: 422 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/1.109, allocations: 387 kB / 1.331 GB, free: 18.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0015/1.11, allocations: 0.9573 MB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/1.111, allocations: 382.2 kB / 1.333 GB, free: 18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/1.112, allocations: 380.5 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/1.112, allocations: 435 kB / 1.334 GB, free: 17.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.679e-05/1.113, allocations: 47.75 kB / 1.334 GB, free: 17.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009126/1.113, allocations: 365.8 kB / 1.334 GB, free: 17.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/1.114, allocations: 254 kB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004011/1.114, allocations: 358.5 kB / 1.335 GB, free: 17.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/1.116, allocations: 0.9715 MB / 1.335 GB, free: 16.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.116, allocations: 0.6562 kB / 1.335 GB, free: 16.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.916e-06/1.116, allocations: 0.8438 kB / 1.335 GB, free: 16.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.601e-05/1.116, allocations: 4.656 kB / 1.335 GB, free: 16.9 MB / 1.061 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.00194/1.118, allocations: 0.9978 MB / 1.336 GB, free: 16.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.118, allocations: 13.58 kB / 1.336 GB, free: 16.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/1.119, allocations: 199.5 kB / 1.337 GB, free: 16.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/1.12, allocations: 0.5193 MB / 1.337 GB, free: 15.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/1.12, allocations: 34.39 kB / 1.337 GB, free: 15.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/1.12, allocations: 59.75 kB / 1.337 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.122, allocations: 0.8282 MB / 1.338 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.122, allocations: 6.594 kB / 1.338 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/1.122, allocations: 23.19 kB / 1.338 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/1.122, allocations: 63.97 kB / 1.338 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/1.123, allocations: 0.5725 MB / 1.339 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/1.127, allocations: 4.578 MB / 1.343 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/1.127, allocations: 273 kB / 1.343 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/1.128, allocations: 215.7 kB / 1.344 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/1.128, allocations: 2.781 kB / 1.344 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/1.128, allocations: 42.31 kB / 1.344 GB, free: 10.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/1.128, allocations: 0 / 1.344 GB, free: 10.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.005741/1.134, allocations: 2.638 MB / 1.346 GB, free: 9.473 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/1.134, allocations: 55.62 kB / 1.346 GB, free: 9.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/1.134, allocations: 460.2 kB / 1.347 GB, free: 9.184 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/1.134, allocations: 31.89 kB / 1.347 GB, free: 9.148 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/1.134, allocations: 346.3 kB / 1.347 GB, free: 8.871 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.134, allocations: 154.4 kB / 1.347 GB, free: 8.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/1.135, allocations: 110.4 kB / 1.347 GB, free: 8.688 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/1.135, allocations: 359.9 kB / 1.348 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/1.135, allocations: 241.3 kB / 1.348 GB, free: 8.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/1.136, allocations: 407.6 kB / 1.348 GB, free: 7.977 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/1.136, allocations: 0.6732 MB / 1.349 GB, free: 7.543 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.136, allocations: 1.312 kB / 1.349 GB, free: 7.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001792/1.138, allocations: 0.9119 MB / 1.35 GB, free: 7.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.138, allocations: 9.844 kB / 1.35 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.138, allocations: 5.062 kB / 1.35 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008847/1.139, allocations: 232.7 kB / 1.35 GB, free: 7.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/1.14, allocations: 116.5 kB / 1.35 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/1.144, allocations: 5.333 MB / 1.355 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/1.145, allocations: 38.05 kB / 1.355 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/1.145, allocations: 22.75 kB / 1.355 GB, free: 2.398 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.0003929/1.145, allocations: 226.2 kB / 1.356 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.146, allocations: 65.12 kB / 1.356 GB, free: 2.191 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/1.147, allocations: 0.7616 MB / 1.357 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.147, allocations: 4.375 kB / 1.357 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.147, allocations: 2.859 kB / 1.357 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/1.147, allocations: 2.062 kB / 1.357 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/1.15, allocations: 1.488 MB / 1.358 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.15, allocations: 1.031 kB / 1.358 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/1.15, allocations: 72.3 kB / 1.358 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007291/1.151, allocations: 214.1 kB / 1.358 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/1.151, allocations: 10.03 kB / 1.358 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/1.156, allocations: 5.273 MB / 1.363 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.157, allocations: 6.406 kB / 1.363 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/1.159, allocations: 1.129 MB / 1.365 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/1.159, allocations: 172 kB / 1.365 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/1.159, allocations: 17.41 kB / 1.365 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/1.16, allocations: 24.03 kB / 1.365 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.16, allocations: 35.58 kB / 1.365 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/1.16, allocations: 14.12 kB / 1.365 GB, free: 11.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004577/1.16, allocations: 311.7 kB / 1.365 GB, free: 11.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.16, allocations: 0 / 1.365 GB, free: 11.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008272/1.161, allocations: 170.2 kB / 1.365 GB, free: 11.43 MB / 1.076 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.0001952/1.161, allocations: 114.1 kB / 1.365 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.163, allocations: 0.9702 MB / 1.366 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.163, allocations: 1.438 kB / 1.366 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.164, allocations: 0.6687 MB / 1.367 GB, free: 10.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/1.165, allocations: 194.1 kB / 1.367 GB, free: 10.24 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/1.168, allocations: 1.322 MB / 1.368 GB, free: 9.461 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/1.169, allocations: 0.9457 MB / 1.369 GB, free: 8.734 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/1.169, allocations: 40.92 kB / 1.369 GB, free: 8.727 MB / 1.076 GB Notification: Performance of SimCode: time 1.222e-06/1.169, allocations: 0 / 1.369 GB, free: 8.727 MB / 1.076 GB Notification: Performance of Templates: time 0.02813/1.197, allocations: 14.85 MB / 1.384 GB, free: 7.395 MB / 1.076 GB " [Timeout remaining time 299] 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 -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: 14.610873509998783]