Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001368/0.001368, allocations: 114.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.001474/0.001474, allocations: 194.8 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.456/1.456, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.729/2.729, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7981/0.8001, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009459/0.8095, allocations: 6.992 MB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005945/0.8155, allocations: 3.157 MB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006722/0.8162, allocations: 27.81 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.8191, allocations: 0.9874 MB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.8205, allocations: 0.5207 MB / 1.285 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.8218, allocations: 439 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001799/0.8236, allocations: 1.22 MB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009377/0.8246, allocations: 481 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008648/0.8254, allocations: 478.3 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009877/0.8264, allocations: 0.5448 MB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.8266, allocations: 64 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000807/0.8274, allocations: 395.2 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.8277, allocations: 315.1 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004834/0.8282, allocations: 449.7 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.8297, allocations: 1.222 MB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8297, allocations: 0 / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8297, allocations: 0 / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.8297, allocations: 0 / 1.291 GB, free: 3.23 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001996/0.8317, allocations: 1.183 MB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.8317, allocations: 12.03 kB / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.8333, allocations: 248 kB / 1.292 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.8344, allocations: 0.5887 MB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.8344, allocations: 49.67 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.8345, allocations: 64.33 kB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.8361, allocations: 1.085 MB / 1.294 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.8361, allocations: 4 kB / 1.294 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.189e-05/0.8362, allocations: 39.92 kB / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.8364, allocations: 89.19 kB / 1.294 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.8376, allocations: 0.7504 MB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005945/0.8435, allocations: 5.882 MB / 1.301 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009974/0.8445, allocations: 0.5086 MB / 1.301 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.845, allocations: 286.6 kB / 1.301 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.845, allocations: 4.438 kB / 1.301 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.845, allocations: 43 kB / 1.301 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.355e-06/0.845, allocations: 4 kB / 1.301 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004107/0.8492, allocations: 1.991 MB / 1.303 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.8492, allocations: 55.84 kB / 1.303 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/0.8499, allocations: 0.5587 MB / 1.304 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.8499, allocations: 29.7 kB / 1.304 GB, free: 5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.8502, allocations: 428 kB / 1.304 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.8504, allocations: 178.5 kB / 1.305 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.8506, allocations: 134.6 kB / 1.305 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.8508, allocations: 370.7 kB / 1.305 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.8512, allocations: 277.8 kB / 1.305 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/0.8518, allocations: 497 kB / 1.306 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.853, allocations: 0.8093 MB / 1.307 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.853, allocations: 4 kB / 1.307 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001911/0.8549, allocations: 1.076 MB / 1.308 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.8549, allocations: 11.94 kB / 1.308 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.8549, allocations: 8 kB / 1.308 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/0.8558, allocations: 271.4 kB / 1.308 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.8563, allocations: 131.7 kB / 1.308 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007282/0.8636, allocations: 7.15 MB / 1.315 GB, free: 8.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.8642, allocations: 31.97 kB / 1.315 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.8643, allocations: 32 kB / 1.315 GB, free: 8.832 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0003891/0.8646, allocations: 255.6 kB / 1.315 GB, free: 8.574 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.8648, allocations: 79.58 kB / 1.315 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.8664, allocations: 0.8728 MB / 1.316 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8664, allocations: 7.984 kB / 1.316 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.8664, allocations: 4 kB / 1.316 GB, free: 7.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.8664, allocations: 4 kB / 1.316 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.8693, allocations: 1.705 MB / 1.318 GB, free: 5.793 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.8693, allocations: 11.94 kB / 1.318 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.8696, allocations: 63.83 kB / 1.318 GB, free: 5.719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/0.8704, allocations: 263.6 kB / 1.318 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.8704, allocations: 8 kB / 1.318 GB, free: 5.441 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007121/0.8775, allocations: 7.13 MB / 1.325 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.8775, allocations: 4.031 kB / 1.325 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.8792, allocations: 0.9721 MB / 1.326 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.8795, allocations: 200.6 kB / 1.326 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.695e-05/0.8796, allocations: 19.92 kB / 1.326 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.88, allocations: 31.91 kB / 1.326 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.8801, allocations: 43.88 kB / 1.326 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.8801, allocations: 12 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004632/0.8806, allocations: 387.1 kB / 1.327 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.8806, allocations: 0 / 1.327 GB, free: 12.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008275/0.8814, allocations: 224 kB / 1.327 GB, free: 11.82 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001803/0.8816, allocations: 123.1 kB / 1.327 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.8836, allocations: 1.228 MB / 1.328 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.8836, allocations: 4 kB / 1.328 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.8849, allocations: 0.8658 MB / 1.329 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.8859, allocations: 228.6 kB / 1.329 GB, free: 9.277 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.8881, allocations: 1.34 MB / 1.331 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.8888, allocations: 1.005 MB / 1.332 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003365/0.8892, allocations: 126 kB / 1.332 GB, free: 6.723 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.8893, allocations: 43.44 kB / 1.332 GB, free: 6.68 MB / 1.029 GB Notification: Performance of SimCode: time 6.12e-07/0.8893, allocations: 0 / 1.332 GB, free: 6.68 MB / 1.029 GB Notification: Performance of Templates: time 0.02023/0.9095, allocations: 11.67 MB / 1.343 GB, free: 11.13 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.986187213100493]