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.001914/0.001914, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002321/0.002321, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.661/1.661, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.745/2.745, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.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.002393/0.002393, allocations: 71.89 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8746, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005622/0.8803, allocations: 5.361 MB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.8841, allocations: 2.635 MB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.8845, allocations: 31.19 kB / 1.162 GB, free: 28.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.8861, allocations: 0.6814 MB / 1.162 GB, free: 27.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008614/0.8869, allocations: 424.6 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008459/0.8878, allocations: 411.2 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008248/0.8886, allocations: 0.9637 MB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004963/0.8891, allocations: 369.9 kB / 1.165 GB, free: 26.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.8896, allocations: 399.2 kB / 1.165 GB, free: 26.58 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.8901, allocations: 414.5 kB / 1.165 GB, free: 26.42 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.8902, allocations: 50.16 kB / 1.165 GB, free: 26.42 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.8907, allocations: 322.8 kB / 1.166 GB, free: 26.32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.8909, allocations: 256.5 kB / 1.166 GB, free: 26.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.8912, allocations: 293.5 kB / 1.166 GB, free: 26.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.8922, allocations: 0.9822 MB / 1.167 GB, free: 25.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.8922, allocations: 0 / 1.167 GB, free: 25.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8922, allocations: 0 / 1.167 GB, free: 25.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.8922, allocations: 4 kB / 1.167 GB, free: 25.73 MB / 1.076 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.001564/0.8938, allocations: 0.923 MB / 1.168 GB, free: 25.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.8938, allocations: 10.94 kB / 1.168 GB, free: 25.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.8952, allocations: 197.9 kB / 1.168 GB, free: 25.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/0.896, allocations: 468.3 kB / 1.169 GB, free: 24.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.896, allocations: 46.25 kB / 1.169 GB, free: 24.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.8962, allocations: 58.28 kB / 1.169 GB, free: 24.71 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.8972, allocations: 0.9947 MB / 1.17 GB, free: 24.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.8972, allocations: 6.562 kB / 1.17 GB, free: 24.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.8973, allocations: 17.25 kB / 1.17 GB, free: 24.03 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.8974, allocations: 67.08 kB / 1.17 GB, free: 24.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.8982, allocations: 0.5649 MB / 1.17 GB, free: 23.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.9018, allocations: 3.491 MB / 1.174 GB, free: 21.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.9024, allocations: 280 kB / 1.174 GB, free: 20.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.9027, allocations: 213.7 kB / 1.174 GB, free: 20.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.9027, allocations: 4.438 kB / 1.174 GB, free: 20.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.9027, allocations: 37.34 kB / 1.174 GB, free: 20.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.9027, allocations: 0 / 1.174 GB, free: 20.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.00543/0.9082, allocations: 2.328 MB / 1.177 GB, free: 19.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.9082, allocations: 55.41 kB / 1.177 GB, free: 19.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.9087, allocations: 431 kB / 1.177 GB, free: 19.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.9087, allocations: 35.08 kB / 1.177 GB, free: 19.51 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.9089, allocations: 359 kB / 1.177 GB, free: 19.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.909, allocations: 148.6 kB / 1.178 GB, free: 19.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.9092, allocations: 107.6 kB / 1.178 GB, free: 19.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.9093, allocations: 362.5 kB / 1.178 GB, free: 18.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.9097, allocations: 237 kB / 1.178 GB, free: 18.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.9102, allocations: 410.9 kB / 1.179 GB, free: 18.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.9111, allocations: 0.673 MB / 1.179 GB, free: 17.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9111, allocations: 2.75 kB / 1.179 GB, free: 17.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001882/0.913, allocations: 0.9144 MB / 1.18 GB, free: 17.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.913, allocations: 11.94 kB / 1.18 GB, free: 17.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.913, allocations: 6.25 kB / 1.18 GB, free: 17.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.9139, allocations: 226.8 kB / 1.18 GB, free: 17.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/0.9145, allocations: 113.4 kB / 1.181 GB, free: 17.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.9189, allocations: 4.943 MB / 1.185 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/0.9195, allocations: 29.67 kB / 1.185 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.9195, allocations: 26.5 kB / 1.185 GB, free: 13.24 MB / 1.076 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.0003096/0.9198, allocations: 222.9 kB / 1.186 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.9199, allocations: 59.91 kB / 1.186 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.9214, allocations: 0.7642 MB / 1.186 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.9214, allocations: 4.984 kB / 1.186 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9214, allocations: 2.281 kB / 1.186 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.9214, allocations: 14.19 kB / 1.186 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.9238, allocations: 1.319 MB / 1.188 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.9238, allocations: 1.828 kB / 1.188 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.9242, allocations: 68.75 kB / 1.188 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006997/0.9249, allocations: 206.4 kB / 1.188 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.9249, allocations: 12.92 kB / 1.188 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003932/0.9288, allocations: 4.867 MB / 1.193 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9288, allocations: 1.312 kB / 1.193 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.9306, allocations: 1.134 MB / 1.194 GB, free: 7.227 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.9308, allocations: 92.97 kB / 1.194 GB, free: 7.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.9309, allocations: 9.594 kB / 1.194 GB, free: 7.176 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.9312, allocations: 28.25 kB / 1.194 GB, free: 7.168 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.9313, allocations: 37.8 kB / 1.194 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.9314, allocations: 13.78 kB / 1.194 GB, free: 7.156 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003035/0.9317, allocations: 293.7 kB / 1.194 GB, free: 7.008 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9317, allocations: 1.062 kB / 1.194 GB, free: 7.008 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007315/0.9324, allocations: 165.6 kB / 1.194 GB, free: 6.992 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.0001232/0.9325, allocations: 125.6 kB / 1.195 GB, free: 6.879 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.934, allocations: 0.962 MB / 1.196 GB, free: 6.324 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.934, allocations: 0.8438 kB / 1.196 GB, free: 6.324 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.9349, allocations: 0.6693 MB / 1.196 GB, free: 5.867 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/0.9357, allocations: 169.4 kB / 1.196 GB, free: 5.805 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.9375, allocations: 1.275 MB / 1.198 GB, free: 5.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.9379, allocations: 354.3 kB / 1.198 GB, free: 4.949 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003273/0.9383, allocations: 108.9 kB / 1.198 GB, free: 4.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.9384, allocations: 36.92 kB / 1.198 GB, free: 4.918 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/0.9384, allocations: 0 / 1.198 GB, free: 4.918 MB / 1.076 GB Notification: Performance of Templates: time 0.01701/0.9554, allocations: 9.085 MB / 1.207 GB, free: 3.914 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.220694078016095]