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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 193 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00197/0.00197, allocations: 63.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7843, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008128/0.7924, allocations: 5.654 MB / 1.28 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004677/0.7971, allocations: 2.724 MB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.7974, allocations: 19.88 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.7994, allocations: 0.703 MB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009376/0.8003, allocations: 421.8 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.8013, allocations: 403 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.8023, allocations: 0.9552 MB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.8029, allocations: 345.1 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.8033, allocations: 374.6 kB / 1.285 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.804, allocations: 434.3 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.8041, allocations: 48 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006298/0.8047, allocations: 367.2 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.805, allocations: 255.2 kB / 1.286 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.8053, allocations: 350.2 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.8065, allocations: 0.9767 MB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8065, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8065, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.8065, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 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.001714/0.8082, allocations: 0.9961 MB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.8082, allocations: 8.031 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.8096, allocations: 196.3 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/0.8105, allocations: 0.5184 MB / 1.289 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.8106, allocations: 41.36 kB / 1.289 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.8107, allocations: 60.53 kB / 1.289 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.812, allocations: 0.8163 MB / 1.29 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.8121, allocations: 15.92 kB / 1.29 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.8121, allocations: 19.98 kB / 1.29 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.8123, allocations: 64.95 kB / 1.29 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.8134, allocations: 0.5658 MB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004952/0.8183, allocations: 4.589 MB / 1.295 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.8188, allocations: 271.3 kB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.8191, allocations: 209.3 kB / 1.296 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.8192, allocations: 4.281 kB / 1.296 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.8192, allocations: 42.84 kB / 1.296 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.023e-06/0.8192, allocations: 3.938 kB / 1.296 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.006069/0.8253, allocations: 2.625 MB / 1.298 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.8253, allocations: 59.39 kB / 1.299 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.8259, allocations: 457.9 kB / 1.299 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.8259, allocations: 37.7 kB / 1.299 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.8262, allocations: 348.6 kB / 1.299 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.8263, allocations: 150.7 kB / 1.299 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.8265, allocations: 102.2 kB / 1.3 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.8267, allocations: 362.8 kB / 1.3 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.8271, allocations: 237 kB / 1.3 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.8277, allocations: 410.4 kB / 1.301 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.8286, allocations: 0.6779 MB / 1.301 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8286, allocations: 0 / 1.301 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001775/0.8304, allocations: 0.921 MB / 1.302 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8304, allocations: 10.19 kB / 1.302 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8304, allocations: 8.641 kB / 1.302 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008218/0.8312, allocations: 230.3 kB / 1.302 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.8318, allocations: 119.8 kB / 1.302 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005966/0.8377, allocations: 5.34 MB / 1.308 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.8382, allocations: 32.03 kB / 1.308 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.8383, allocations: 24 kB / 1.308 GB, free: 0.7461 MB / 0.9981 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.0003234/0.8386, allocations: 221.6 kB / 1.308 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8387, allocations: 59.75 kB / 1.308 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.8403, allocations: 0.766 MB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8403, allocations: 4 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.8403, allocations: 4 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8404, allocations: 3.984 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.843, allocations: 1.498 MB / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.843, allocations: 0 / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.8434, allocations: 71.89 kB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000703/0.8441, allocations: 210.5 kB / 1.31 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.8442, allocations: 8 kB / 1.31 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00566/0.8498, allocations: 5.273 MB / 1.316 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.8498, allocations: 3.938 kB / 1.316 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.8518, allocations: 1.12 MB / 1.317 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.852, allocations: 168.7 kB / 1.317 GB, free: 6.738 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.8522, allocations: 12.12 kB / 1.317 GB, free: 6.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.8525, allocations: 27.97 kB / 1.317 GB, free: 6.699 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.8526, allocations: 43.95 kB / 1.317 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.8526, allocations: 8 kB / 1.317 GB, free: 6.648 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004219/0.853, allocations: 314.9 kB / 1.317 GB, free: 6.344 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.853, allocations: 4 kB / 1.317 GB, free: 6.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007751/0.8538, allocations: 164 kB / 1.317 GB, free: 6.18 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.0001888/0.854, allocations: 123.7 kB / 1.318 GB, free: 6.051 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.8557, allocations: 0.9687 MB / 1.318 GB, free: 5.043 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8557, allocations: 0 / 1.318 GB, free: 5.043 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.8568, allocations: 0.672 MB / 1.319 GB, free: 4.332 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.8578, allocations: 197 kB / 1.319 GB, free: 4.148 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.8599, allocations: 1.263 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/0.8606, allocations: 0.9494 MB / 1.321 GB, free: 1.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003186/0.8609, allocations: 113 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.861, allocations: 35.44 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.861, allocations: 4 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of Templates: time 0.01799/0.879, allocations: 9.238 MB / 1.331 GB, free: 8.582 MB / 1.029 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 -s gbode -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_2/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.867323520593345]