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.001758/0.001758, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001848/0.001848, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.809/2.809, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7864 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.637e-05/3.798e-05, allocations: 8.156 kB / 0.7864 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009089/0.009127, allocations: 5.503 MB / 0.7918 GB, free: 6.191 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00595/0.01508, allocations: 2.677 MB / 0.7944 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004704/0.01555, allocations: 36.28 kB / 0.7944 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.01769, allocations: 0.7067 MB / 0.7951 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.01889, allocations: 432.9 kB / 0.7955 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.02005, allocations: 401.4 kB / 0.7959 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.02143, allocations: 0.9824 MB / 0.7969 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.02213, allocations: 378.5 kB / 0.7972 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.02315, allocations: 0.5232 MB / 0.7977 GB, free: 80 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/0.02384, allocations: 367.1 kB / 0.7981 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.02396, allocations: 49.5 kB / 0.7981 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.0248, allocations: 335 kB / 0.7984 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.02516, allocations: 263.2 kB / 0.7987 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.02553, allocations: 239.4 kB / 0.7989 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.02719, allocations: 1.009 MB / 0.7999 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.02719, allocations: 0.9688 kB / 0.7999 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/0.0272, allocations: 0 / 0.7999 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.02721, allocations: 0 / 0.7999 GB, free: 13.84 MB / 0.7136 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.001946/0.02916, allocations: 1.047 MB / 0.8009 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.0292, allocations: 12.03 kB / 0.8009 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.03075, allocations: 286 kB / 0.8012 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000985/0.03174, allocations: 480.8 kB / 0.8017 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.03178, allocations: 33.38 kB / 0.8017 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.03197, allocations: 64.44 kB / 0.8018 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.03326, allocations: 0.845 MB / 0.8026 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.03329, allocations: 8.125 kB / 0.8026 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.03335, allocations: 28.91 kB / 0.8026 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/0.03357, allocations: 64.94 kB / 0.8027 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.03429, allocations: 317.2 kB / 0.803 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00561/0.0399, allocations: 4.55 MB / 0.8074 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.04031, allocations: 163.8 kB / 0.8076 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.04054, allocations: 104.2 kB / 0.8077 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.04058, allocations: 13.22 kB / 0.8077 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.04062, allocations: 37.67 kB / 0.8077 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.04062, allocations: 9.062 kB / 0.8077 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.005088/0.04571, allocations: 1.648 MB / 0.8094 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.04577, allocations: 55.41 kB / 0.8094 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.0464, allocations: 0.522 MB / 0.8099 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.04644, allocations: 37.64 kB / 0.81 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.04682, allocations: 423.1 kB / 0.8104 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.04699, allocations: 162.7 kB / 0.8105 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.04721, allocations: 120 kB / 0.8106 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003533/0.04756, allocations: 0.5586 MB / 0.8112 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.04784, allocations: 121.2 kB / 0.8113 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.04836, allocations: 379.3 kB / 0.8116 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.04922, allocations: 0.5294 MB / 0.8122 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.04922, allocations: 4 kB / 0.8122 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001632/0.05085, allocations: 0.6957 MB / 0.8128 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.05087, allocations: 8.031 kB / 0.8129 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.05089, allocations: 8 kB / 0.8129 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.0521, allocations: 242.8 kB / 0.8131 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.05266, allocations: 115.8 kB / 0.8132 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/0.05923, allocations: 5.81 MB / 0.8189 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.05978, allocations: 27.97 kB / 0.8189 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.05984, allocations: 31.92 kB / 0.8189 GB, free: 9.246 MB / 0.7292 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.0003349/0.06017, allocations: 208.5 kB / 0.8191 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.06031, allocations: 67.67 kB / 0.8192 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.06179, allocations: 0.5317 MB / 0.8197 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.06179, allocations: 4 kB / 0.8197 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.0618, allocations: 8 kB / 0.8197 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.06181, allocations: 0 / 0.8197 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.06456, allocations: 1.193 MB / 0.8209 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.06456, allocations: 0 / 0.8209 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.06498, allocations: 71.88 kB / 0.821 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.06609, allocations: 231 kB / 0.8212 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.06613, allocations: 11.94 kB / 0.8212 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006245/0.07237, allocations: 5.784 MB / 0.8268 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.07238, allocations: 7.938 kB / 0.8269 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.07435, allocations: 0.8163 MB / 0.8277 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.07465, allocations: 91.56 kB / 0.8277 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.07473, allocations: 15.94 kB / 0.8278 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.07506, allocations: 23.97 kB / 0.8278 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.07518, allocations: 31.94 kB / 0.8278 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.07521, allocations: 12 kB / 0.8278 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004321/0.07564, allocations: 339 kB / 0.8281 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.07564, allocations: 4.031 kB / 0.8281 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007787/0.07642, allocations: 168 kB / 0.8283 GB, free: 15.1 MB / 0.7448 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.0001893/0.07661, allocations: 111.2 kB / 0.8284 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.07841, allocations: 0.9829 MB / 0.8294 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.07841, allocations: 0 / 0.8294 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.07958, allocations: 0.7628 MB / 0.8301 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009397/0.08052, allocations: 174.2 kB / 0.8303 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.08292, allocations: 1.154 MB / 0.8314 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.0834, allocations: 334.1 kB / 0.8317 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003405/0.08374, allocations: 88.77 kB / 0.8318 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.08386, allocations: 44.5 kB / 0.8319 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of SimCode: time 1.232e-06/0.08386, allocations: 0 / 0.8319 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.0199/0.1038, allocations: 9.167 MB / 0.8408 GB, free: 2.312 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.267375187017024]