Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001611/0.001611, 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.001876/0.001876, allocations: 194.3 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.431/1.431, 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.772/2.772, 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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7714, allocations: 168.7 MB / 1.274 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008261/0.7797, allocations: 5.74 MB / 1.28 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004873/0.7846, allocations: 2.747 MB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.7849, allocations: 19.88 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.7867, allocations: 0.7114 MB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000889/0.7876, allocations: 421.7 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.7886, allocations: 407 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.7897, allocations: 0.9591 MB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/0.7902, allocations: 341.2 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004818/0.7907, allocations: 382.5 kB / 1.285 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.7913, allocations: 430.3 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.7914, allocations: 52 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.792, allocations: 379.2 kB / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.7923, allocations: 251.2 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003525/0.7926, allocations: 350.3 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.7938, allocations: 0.9766 MB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7938, allocations: 0 / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7938, allocations: 3.938 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.7938, allocations: 0 / 1.288 GB, free: 6.473 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.001652/0.7954, allocations: 0.9962 MB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.7954, allocations: 8.031 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.7968, allocations: 200.2 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/0.7978, allocations: 0.5339 MB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.7978, allocations: 37.38 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.798, allocations: 56.55 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.7992, allocations: 0.8318 MB / 1.29 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.7992, allocations: 0 / 1.29 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.7993, allocations: 20 kB / 1.29 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/0.7995, allocations: 72.88 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.8005, allocations: 0.5736 MB / 1.291 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005286/0.8058, allocations: 4.574 MB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.8063, allocations: 279.3 kB / 1.296 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.8066, allocations: 209.3 kB / 1.296 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.8066, allocations: 8.219 kB / 1.296 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.8066, allocations: 38.84 kB / 1.296 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.943e-06/0.8066, allocations: 0 / 1.296 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.005786/0.8124, allocations: 2.633 MB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.8125, allocations: 55.41 kB / 1.299 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.813, allocations: 470 kB / 1.299 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.8131, allocations: 33.7 kB / 1.299 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.8133, allocations: 356.5 kB / 1.299 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.8135, allocations: 146.7 kB / 1.3 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.8136, allocations: 110.2 kB / 1.3 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.8138, allocations: 362.8 kB / 1.3 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.8142, allocations: 237 kB / 1.3 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.8148, allocations: 418.3 kB / 1.301 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009669/0.8157, allocations: 0.674 MB / 1.301 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8157, allocations: 0 / 1.301 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001753/0.8175, allocations: 0.9093 MB / 1.302 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.8175, allocations: 14.2 kB / 1.302 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.8175, allocations: 12 kB / 1.302 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000785/0.8183, allocations: 214.4 kB / 1.302 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.8188, allocations: 123.8 kB / 1.303 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/0.8247, allocations: 5.34 MB / 1.308 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.8252, allocations: 35.97 kB / 1.308 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.8253, allocations: 20 kB / 1.308 GB, free: 0.6328 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.00034/0.8256, allocations: 221.6 kB / 1.308 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8257, allocations: 63.59 kB / 1.308 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.8273, allocations: 0.7697 MB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.8273, allocations: 11.97 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.8273, allocations: 4 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8274, allocations: 4 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.83, allocations: 1.49 MB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.83, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.8304, allocations: 71.88 kB / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007176/0.8311, allocations: 202.6 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.8312, allocations: 8 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005648/0.8368, allocations: 5.277 MB / 1.316 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.8368, allocations: 4.031 kB / 1.316 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.8388, allocations: 1.128 MB / 1.317 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.8391, allocations: 168.8 kB / 1.317 GB, free: 6.613 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.8392, allocations: 23.88 kB / 1.317 GB, free: 6.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.8395, allocations: 24.16 kB / 1.317 GB, free: 6.566 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.8396, allocations: 36.02 kB / 1.317 GB, free: 6.531 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.8396, allocations: 16 kB / 1.317 GB, free: 6.516 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003925/0.84, allocations: 314.9 kB / 1.317 GB, free: 6.211 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.84, allocations: 0 / 1.317 GB, free: 6.211 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006812/0.8407, allocations: 171.9 kB / 1.318 GB, free: 6.043 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.00018/0.8409, allocations: 119.7 kB / 1.318 GB, free: 5.918 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.8426, allocations: 0.9612 MB / 1.319 GB, free: 4.918 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8426, allocations: 0 / 1.319 GB, free: 4.918 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.8436, allocations: 0.6721 MB / 1.319 GB, free: 4.207 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/0.8445, allocations: 188.2 kB / 1.32 GB, free: 4.023 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.8467, allocations: 1.277 MB / 1.321 GB, free: 2.699 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/0.8474, allocations: 0.9572 MB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003197/0.8477, allocations: 113 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.8478, allocations: 35.44 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/0.8478, allocations: 0 / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of Templates: time 0.01751/0.8653, allocations: 9.254 MB / 1.331 GB, free: 8.426 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.572833325713873]