Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001764/0.001764, allocations: 106.6 kB / 17.08 MB, free: 5.992 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.002006/0.002006, allocations: 195.6 kB / 20.03 MB, free: 3.059 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.511/1.511, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.096/3.096, allocations: 489.3 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007933/1.068, allocations: 5.554 MB / 1.268 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005006/1.073, allocations: 2.639 MB / 1.271 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/1.074, allocations: 21.56 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/1.076, allocations: 0.6902 MB / 1.271 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/1.078, allocations: 406 kB / 1.272 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/1.079, allocations: 409.1 kB / 1.272 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001747/1.081, allocations: 0.9581 MB / 1.273 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008385/1.082, allocations: 466.5 kB / 1.273 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/1.082, allocations: 381.7 kB / 1.274 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/1.083, allocations: 401.4 kB / 1.274 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/1.083, allocations: 48.09 kB / 1.274 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009198/1.084, allocations: 362 kB / 1.275 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/1.084, allocations: 244.2 kB / 1.275 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003651/1.085, allocations: 356.3 kB / 1.275 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/1.086, allocations: 0.9802 MB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.086, allocations: 0.5156 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.985e-06/1.086, allocations: 5.062 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.673e-05/1.086, allocations: 0 / 1.276 GB, free: 15.85 MB / 1.014 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.002118/1.088, allocations: 0.9924 MB / 1.277 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.088, allocations: 10.2 kB / 1.277 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/1.09, allocations: 207 kB / 1.277 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000981/1.091, allocations: 0.5261 MB / 1.278 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/1.091, allocations: 41.77 kB / 1.278 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.091, allocations: 52.97 kB / 1.278 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/1.093, allocations: 0.8306 MB / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/1.093, allocations: 10.75 kB / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.809e-05/1.093, allocations: 27.55 kB / 1.279 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/1.093, allocations: 63.39 kB / 1.279 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/1.094, allocations: 0.5702 MB / 1.279 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005422/1.099, allocations: 4.571 MB / 1.284 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/1.1, allocations: 301.3 kB / 1.284 GB, free: 9.945 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/1.1, allocations: 226.3 kB / 1.284 GB, free: 9.855 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/1.1, allocations: 5.422 kB / 1.284 GB, free: 9.855 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.1, allocations: 36.5 kB / 1.284 GB, free: 9.812 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.445e-06/1.1, allocations: 0 / 1.284 GB, free: 9.812 MB / 1.014 GB Notification: Performance of matching and sorting (n=40): time 0.006408/1.107, allocations: 2.647 MB / 1.287 GB, free: 8.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/1.107, allocations: 55.59 kB / 1.287 GB, free: 8.348 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/1.108, allocations: 465.5 kB / 1.287 GB, free: 8.121 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/1.108, allocations: 31.58 kB / 1.287 GB, free: 8.086 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/1.108, allocations: 351.9 kB / 1.288 GB, free: 7.805 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/1.108, allocations: 154.6 kB / 1.288 GB, free: 7.684 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/1.108, allocations: 101.7 kB / 1.288 GB, free: 7.629 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002155/1.109, allocations: 368.8 kB / 1.288 GB, free: 7.289 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/1.109, allocations: 237.4 kB / 1.289 GB, free: 7.203 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/1.11, allocations: 408.7 kB / 1.289 GB, free: 6.906 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.111, allocations: 0.673 MB / 1.29 GB, free: 6.473 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.111, allocations: 2.188 kB / 1.29 GB, free: 6.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001938/1.113, allocations: 0.9318 MB / 1.291 GB, free: 6.074 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.113, allocations: 7.219 kB / 1.291 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.113, allocations: 5.906 kB / 1.291 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008846/1.114, allocations: 224.6 kB / 1.291 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/1.114, allocations: 115.5 kB / 1.291 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/1.121, allocations: 5.346 MB / 1.296 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/1.121, allocations: 30.39 kB / 1.296 GB, free: 1.312 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/1.121, allocations: 22.3 kB / 1.296 GB, free: 1.309 MB / 1.014 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.0004183/1.122, allocations: 226.5 kB / 1.296 GB, free: 1.137 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.122, allocations: 64.61 kB / 1.296 GB, free: 1.102 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/1.124, allocations: 0.7779 MB / 1.297 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.124, allocations: 4.156 kB / 1.297 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.124, allocations: 2.938 kB / 1.297 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.124, allocations: 1.969 kB / 1.297 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/1.127, allocations: 1.496 MB / 1.299 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/1.127, allocations: 2.312 kB / 1.299 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/1.127, allocations: 71.86 kB / 1.299 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007649/1.128, allocations: 211.5 kB / 1.299 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/1.128, allocations: 8.766 kB / 1.299 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006068/1.134, allocations: 5.268 MB / 1.304 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.134, allocations: 2.625 kB / 1.304 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/1.136, allocations: 1.141 MB / 1.305 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/1.137, allocations: 171.4 kB / 1.305 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/1.137, allocations: 17.69 kB / 1.305 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/1.137, allocations: 23.97 kB / 1.305 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.137, allocations: 35.66 kB / 1.305 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/1.137, allocations: 13.73 kB / 1.305 GB, free: 10.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004537/1.138, allocations: 315 kB / 1.306 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 3e-07/1.138, allocations: 5.219 kB / 1.306 GB, free: 10.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008441/1.139, allocations: 165.5 kB / 1.306 GB, free: 10.32 MB / 1.029 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.0001963/1.139, allocations: 115 kB / 1.306 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00193/1.141, allocations: 1.013 MB / 1.307 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.141, allocations: 0.8125 kB / 1.307 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/1.142, allocations: 0.6785 MB / 1.308 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/1.143, allocations: 188 kB / 1.308 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/1.145, allocations: 1.335 MB / 1.309 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/1.146, allocations: 0.9587 MB / 1.31 GB, free: 7.586 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/1.146, allocations: 41.27 kB / 1.31 GB, free: 7.578 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/1.146, allocations: 4 kB / 1.31 GB, free: 7.574 MB / 1.029 GB Notification: Performance of Templates: time 0.02629/1.173, allocations: 14.95 MB / 1.325 GB, free: 5.094 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.314441121881828]