Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001732/0.001732, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.00198/0.00198, allocations: 192.8 kB / 22.23 MB, free: 5.16 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.461/1.461, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7646 GB, free: 9.855 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.89 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.812/0.814, allocations: 168.8 MB / 1.274 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02701/0.8411, allocations: 21.21 MB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.8534, allocations: 6.683 MB / 1.302 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.8554, allocations: 111.2 kB / 1.302 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00618/0.8616, allocations: 2.344 MB / 1.304 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.865, allocations: 1.24 MB / 1.305 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003367/0.8684, allocations: 1.323 MB / 1.306 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006534/0.8749, allocations: 4.854 MB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00539/0.8803, allocations: 2.951 MB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.8838, allocations: 2.15 MB / 1.316 GB, free: 9.117 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/0.8879, allocations: 2.477 MB / 1.319 GB, free: 6.633 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007418/0.8886, allocations: 428 kB / 1.319 GB, free: 6.215 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.8907, allocations: 1.018 MB / 1.32 GB, free: 5.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.8926, allocations: 1.711 MB / 1.322 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002907/0.8955, allocations: 1.918 MB / 1.324 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007999/0.9035, allocations: 6.532 MB / 1.33 GB, free: 11.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9036, allocations: 0 / 1.33 GB, free: 11.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.572e-06/0.9036, allocations: 0 / 1.33 GB, free: 11.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000124/0.9037, allocations: 0 / 1.33 GB, free: 11.01 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00699/0.9107, allocations: 3.473 MB / 1.333 GB, free: 7.484 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.9107, allocations: 12.03 kB / 1.333 GB, free: 7.473 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.9141, allocations: 0.6507 MB / 1.334 GB, free: 6.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.9182, allocations: 1.993 MB / 1.336 GB, free: 4.777 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.9183, allocations: 218.3 kB / 1.336 GB, free: 4.562 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000508/0.9189, allocations: 296.3 kB / 1.336 GB, free: 4.273 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008733/0.9276, allocations: 4.89 MB / 1.341 GB, free: 15.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.368e-05/0.9277, allocations: 15.89 kB / 1.341 GB, free: 15.17 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.928, allocations: 124 kB / 1.341 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004509/0.9284, allocations: 237.7 kB / 1.342 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00664/0.9351, allocations: 3.75 MB / 1.345 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02585/0.9609, allocations: 21.22 MB / 1.366 GB, free: 3.832 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.9628, allocations: 1.239 MB / 1.367 GB, free: 2.582 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.9643, allocations: 0.9875 MB / 1.368 GB, free: 1.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-05/0.9643, allocations: 13 kB / 1.368 GB, free: 1.578 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.9644, allocations: 47.56 kB / 1.368 GB, free: 1.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 2.695e-06/0.9644, allocations: 0 / 1.368 GB, free: 1.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.02564/0.99, allocations: 8.428 MB / 1.376 GB, free: 9.094 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.9901, allocations: 64.72 kB / 1.376 GB, free: 9.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.9917, allocations: 1.142 MB / 1.378 GB, free: 7.871 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.9918, allocations: 45.7 kB / 1.378 GB, free: 7.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.9929, allocations: 1.335 MB / 1.379 GB, free: 6.473 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/0.9933, allocations: 0.4918 MB / 1.379 GB, free: 5.977 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004818/0.9938, allocations: 291.4 kB / 1.38 GB, free: 5.684 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.994, allocations: 309.1 kB / 1.38 GB, free: 5.379 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.9954, allocations: 0.9174 MB / 1.381 GB, free: 4.461 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.9971, allocations: 1.33 MB / 1.382 GB, free: 2.965 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/1.001, allocations: 2.43 MB / 1.385 GB, free: 372 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/1.001, allocations: 4 kB / 1.385 GB, free: 368 kB / 1.076 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006581/1.007, allocations: 3.437 MB / 1.388 GB, free: 12.9 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/1.007, allocations: 12 kB / 1.388 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/1.007, allocations: 12 kB / 1.388 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/1.011, allocations: 1.168 MB / 1.389 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/1.012, allocations: 263.5 kB / 1.389 GB, free: 11.44 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/1.031, allocations: 13.55 MB / 1.403 GB, free: 13.55 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.032, allocations: 96.09 kB / 1.403 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.032, allocations: 64 kB / 1.403 GB, free: 13.39 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001941/1.034, allocations: 1.114 MB / 1.404 GB, free: 12.27 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/1.035, allocations: 167 kB / 1.404 GB, free: 12.1 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/1.041, allocations: 3.134 MB / 1.407 GB, free: 8.949 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/1.041, allocations: 15.98 kB / 1.407 GB, free: 8.934 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.041, allocations: 15.94 kB / 1.407 GB, free: 8.918 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.041, allocations: 3.984 kB / 1.407 GB, free: 8.914 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.052, allocations: 6.186 MB / 1.413 GB, free: 2.605 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.052, allocations: 4 kB / 1.413 GB, free: 2.602 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/1.052, allocations: 147.8 kB / 1.413 GB, free: 2.457 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002996/1.055, allocations: 1.071 MB / 1.414 GB, free: 1.379 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.399e-05/1.055, allocations: 32 kB / 1.414 GB, free: 1.348 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/1.074, allocations: 13.24 MB / 1.427 GB, free: 3.762 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.074, allocations: 11.88 kB / 1.427 GB, free: 3.75 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/1.08, allocations: 3.124 MB / 1.43 GB, free: 0.543 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.082, allocations: 362.8 kB / 1.431 GB, free: 192 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/1.082, allocations: 31.94 kB / 1.431 GB, free: 160 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/1.083, allocations: 83.89 kB / 1.431 GB, free: 76 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/1.083, allocations: 128.7 kB / 1.431 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/1.083, allocations: 36 kB / 1.431 GB, free: 15.91 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001121/1.084, allocations: 0.771 MB / 1.432 GB, free: 15.13 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.084, allocations: 0 / 1.432 GB, free: 15.13 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001935/1.086, allocations: 0.6562 MB / 1.432 GB, free: 14.48 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002421/1.086, allocations: 135.1 kB / 1.432 GB, free: 14.33 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005299/1.092, allocations: 3.013 MB / 1.435 GB, free: 11.28 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.092, allocations: 4.75 kB / 1.435 GB, free: 11.28 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003255/1.095, allocations: 1.872 MB / 1.437 GB, free: 9.367 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.097, allocations: 0.5071 MB / 1.438 GB, free: 8.871 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009806/1.107, allocations: 5.529 MB / 1.443 GB, free: 3.262 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/1.11, allocations: 2.336 MB / 1.445 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001087/1.111, allocations: 346.1 kB / 1.446 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/1.111, allocations: 103.4 kB / 1.446 GB, free: 460 kB / 1.139 GB Notification: Performance of SimCode: time 1.122e-06/1.111, allocations: 0 / 1.446 GB, free: 460 kB / 1.139 GB Notification: Performance of Templates: time 0.06149/1.172, allocations: 34.79 MB / 1.48 GB, free: 14.08 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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: 9.756441798992455]